# [unstable] # build-std = ["core", "compiler_builtins", "alloc"] # build-std-features = ["compiler-builtins-mem"] [target.'cfg(target_os = "none")'] runner = "bootimage runner" [build] # '-Zlinker-features=-lld' 禁用rustlld(20240723),因为它与linkme0.3版本冲突 rustflags = ["-Zlinker-features=-lld"] rustdocflags = ["-Zlinker-features=-lld"] [env]