mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 08:18:43 -06:00
21 lines
446 B
TOML
21 lines
446 B
TOML
#link crt statically on msvc
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-Ctarget-feature=+crt-static"]
|
|
|
|
[target.i686-pc-windows-msvc]
|
|
rustflags = ["-Ctarget-feature=+crt-static"]
|
|
|
|
[target.i586-pc-windows-msvc]
|
|
rustflags = ["-Ctarget-feature=+crt-static"]
|
|
|
|
# enable sse,sse2,avx
|
|
|
|
[target.'cfg(target_arch = "x86_64")']
|
|
rustflags = "-Ctarget-feature=+sse,+sse2,+avx"
|
|
|
|
# use sparse crates.io protocol
|
|
|
|
[registries.crates-io]
|
|
protocol = "sparse"
|