diff --git a/Cargo.lock b/Cargo.lock index 64b91c9..07ecc65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "bootloader" -version = "0.9.29" +version = "0.9.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "365861702868e2a37b4247aaecc7bd8f4389baec8d025497ad8ba7ff37ee9440" +checksum = "974e79cf1b0b737839f01330fb5393095daf1124d52693696494e32523ae9ef5" [[package]] name = "lazy_static" diff --git a/src/main.rs b/src/main.rs index d9b41aa..44b3642 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,11 +11,9 @@ fn panic(info: &PanicInfo) -> ! { loop {} } -static HELLO: &[u8] = b"Hello, world!"; - #[no_mangle] pub extern "C" fn _start() -> ! { - println!("NelOS"); + println!("NelOS v{}", env!("CARGO_PKG_VERSION")); loop {} } diff --git a/x86_64-nel_os.json b/x86_64-nel_os.json index ceedc5d..77e4d1d 100644 --- a/x86_64-nel_os.json +++ b/x86_64-nel_os.json @@ -11,5 +11,6 @@ "linker": "rust-lld", "panic-strategy": "abort", "disable-redzone": true, - "features": "-mmx,-sse,+soft-float" + "features": "-mmx,-sse,+soft-float", + "rustc-abi": "x86-softfloat" }