[build] target = "x86_64-custom.json" [unstable] build-std = ["core", "compiler_builtins"] build-std-features = ["compiler-builtins-mem"] [target.'cfg(target_os = "none")'] runner = "bootimage runner" [target.x86_64-custom] rustflags = [ "-C", "link-arg=-Tlinker.ld", "-C", "code-model=kernel", "-C", "relocation-model=static" ]