mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
statically link crt
This commit is contained in:
parent
c48afa107f
commit
c8ff48d34b
|
@ -1,6 +1,20 @@
|
||||||
|
#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
|
||||||
|
|
||||||
[target.'cfg(target_arch = "x86_64")']
|
[target.'cfg(target_arch = "x86_64")']
|
||||||
rustflags = "-C target-feature=+sse,+sse2,+sse3,+avx,+avx2,+fma"
|
rustflags = "-Ctarget-feature=+sse,+sse2,+sse3,+avx,+avx2,+fma"
|
||||||
|
|
||||||
|
# use sparse crates.io protocol
|
||||||
|
|
||||||
[registries.crates-io]
|
[registries.crates-io]
|
||||||
protocol = "sparse"
|
protocol = "sparse"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue