2022-10-16 22:22:34 +00:00
|
|
|
[build]
|
|
|
|
rustflags = ["--cfg", "uuid_unstable"]
|
|
|
|
|
2022-07-12 08:12:48 +00:00
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
|
|
linker = "aarch64-linux-gnu-gcc"
|
|
|
|
|
2022-10-16 22:22:34 +00:00
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
|
|
rustflags = [
|
|
|
|
"--cfg", "uuid_unstable",
|
|
|
|
"-C", "target-feature=+crt-static"
|
|
|
|
]
|
|
|
|
|
2022-09-01 14:05:55 +00:00
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
|
|
rustflags = [
|
2022-10-16 22:22:34 +00:00
|
|
|
"--cfg", "uuid_unstable",
|
2022-09-01 14:05:55 +00:00
|
|
|
"-C", "target-feature=+crt-static",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:libvcruntimed.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:vcruntime.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:vcruntimed.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:libcmtd.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:msvcrt.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:msvcrtd.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:libucrt.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:libucrtd.lib",
|
|
|
|
"-C", "link-arg=/NODEFAULTLIB:ucrtd.lib",
|
|
|
|
"-C", "link-arg=/DEFAULTLIB:libvcruntime.lib",
|
|
|
|
"-C", "link-arg=/DEFAULTLIB:libcmt.lib",
|
|
|
|
"-C", "link-arg=/DEFAULTLIB:ucrt.lib"
|
|
|
|
]
|