Open
Description
Here's the error
Error: An error occured while trying to build the bootloader: The `bootloader` dependency has not the right format: No `package.metadata.bootloader.target` key found in Cargo.toml of bootloader
(If you're using the official bootloader crate, you need at least version 0.5.1)
Caused by:
The `bootloader` dependency has not the right format: No `package.metadata.bootloader.target` key found in Cargo.toml of bootloader
(If you're using the official bootloader crate, you need at least version 0.5.1)
Here's my Cargo.toml
#cargo-features = ["per-package-target"]
[package.metadata.bootloader]
target = "x86_64-unknown-none"
[package]
name = "iron"
version = "0.1.0"
edition = "2021"
rust-version = "1.78.0"
[dependencies]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[dev-dependencies]
bootloader = {version="0.11.8"}
main.rs:
#![no_std]
#![no_main]
// pub use core as core;
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_: &PanicInfo) -> ! {
loop {}
}
#[no_mangle]
fn _start() -> ! {
loop {}
}
// #[no_mangle]
// fn entry_32_bit() -> ! {
// loop {}
// }
I've tried downgrading bootloader to various versions, I've tried changing the tag in various ways, I've tried instead
[dev-dependencies]
bootloader = {version="0.11.8", target="x86_64-unkown-none"}
Nothing has worked, I don't understand what the error message is telling me to do. I'm trying to follow the "Writing an OS in rust" tutorial. It has worked for me without issue in the past, I have no idea why things are breaking in bizarre ways this time.
Please let me know how to proceed, thanks.
Metadata
Metadata
Assignees
Labels
No labels