9 lines
287 B
Plaintext
9 lines
287 B
Plaintext
[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"]
|