kubi/.cargo/config.toml

21 lines
477 B
TOML
Raw Normal View History

2023-05-21 10:13:18 +00:00
#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,sse3,avx,avx2,fma
2023-05-16 21:33:17 +00:00
[target.'cfg(target_arch = "x86_64")']
2023-05-21 10:13:18 +00:00
rustflags = "-Ctarget-feature=+sse,+sse2,+sse3,+avx,+avx2,+fma"
# use sparse crates.io protocol
2023-05-16 21:33:17 +00:00
[registries.crates-io]
protocol = "sparse"