update crates

This commit is contained in:
mii443
2025-04-12 20:54:33 +09:00
parent 19b93e6ea6
commit 5e21837d31
3 changed files with 5 additions and 6 deletions

4
Cargo.lock generated
View File

@ -4,9 +4,9 @@ version = 4
[[package]] [[package]]
name = "bootloader" name = "bootloader"
version = "0.9.29" version = "0.9.31"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "365861702868e2a37b4247aaecc7bd8f4389baec8d025497ad8ba7ff37ee9440" checksum = "974e79cf1b0b737839f01330fb5393095daf1124d52693696494e32523ae9ef5"
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"

View File

@ -11,11 +11,9 @@ fn panic(info: &PanicInfo) -> ! {
loop {} loop {}
} }
static HELLO: &[u8] = b"Hello, world!";
#[no_mangle] #[no_mangle]
pub extern "C" fn _start() -> ! { pub extern "C" fn _start() -> ! {
println!("NelOS"); println!("NelOS v{}", env!("CARGO_PKG_VERSION"));
loop {} loop {}
} }

View File

@ -11,5 +11,6 @@
"linker": "rust-lld", "linker": "rust-lld",
"panic-strategy": "abort", "panic-strategy": "abort",
"disable-redzone": true, "disable-redzone": true,
"features": "-mmx,-sse,+soft-float" "features": "-mmx,-sse,+soft-float",
"rustc-abi": "x86-softfloat"
} }