7 lines
447 B
TOML
7 lines
447 B
TOML
|
[target.'cfg(all(target_os = "windows", any(target_arch = "i686", target_arch = "x86_64", target_arch = "x86")))']
|
||
|
rustflags = ["-Ctarget-feature=+crt-static", "-Clink-args=/guard:cf", "-Clink-args=/CETCOMPAT"]
|
||
|
|
||
|
# CETCOMPAT is not supported on ARM binaries
|
||
|
[target.'cfg(all(target_os = "windows", not(any(target_arch = "i686", target_arch = "x86_64", target_arch = "x86"))))']
|
||
|
rustflags = ["-Ctarget-feature=+crt-static", "-Clink-args=/guard:cf"]
|