18 lines
497 B
TOML
18 lines
497 B
TOML
[target.'cfg(target_os = "linux")']
|
|
rustflags = ["-C", "link-arg=-nostartfiles"]
|
|
|
|
[target.'cfg(target_os = "windows")']
|
|
rustflags = ["-C", "link-args=/ENTRY:_start /SUBSYSTEM:console"]
|
|
|
|
[target.'cfg(target_os = "macos")']
|
|
rustflags = ["-C", "link-args=-e __start -static -nostartfiles"]
|
|
|
|
[unstable]
|
|
build-std-features = ["compiler-builtins-mem"]
|
|
build-std = ["core", "compiler_builtins", "alloc"]
|
|
|
|
[build]
|
|
target = "x86_64-gros.json"
|
|
|
|
[target.'cfg(target_os = "none")']
|
|
runner = "bootimage runner" |