# for static instance initialization when first use, but not compile time
[dependencies.lazy_static]
version = "1.0"
feature = ["spin_no_std"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bootloader = "0.9.16"
volatile = "0.2.6"
spin = "0.4.9"
then i use cargo bootimage --target x86_64-unknown-none.json to build minimize kernel, get this error
rustc:
rustc 1.53.0-nightly
compile target:Cargo config:
then i use
cargo bootimage --target x86_64-unknown-none.json
to build minimize kernel, get this error