Build windows binaries with GNU
This commit is contained in:
parent
b84acc83bc
commit
06f120c050
@ -1,13 +1,13 @@
|
|||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
|
|
||||||
[target.x86_64-pc-windows-msvc]
|
[target.x86_64-pc-windows-gnu]
|
||||||
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=8", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=8", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=8", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=8", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
||||||
|
|
||||||
[target.i686-pc-windows-msvc]
|
[target.i686-pc-windows-gnu]
|
||||||
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=4", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
rustflags = ["-C", "target-cpu=native", "-C", "codegen-units=4", "-C", "debuginfo=0", "-C", "profile-generate", "-C", "inline-threshold=2000"]
|
||||||
|
|
||||||
[target.i686-unknown-linux-gnu]
|
[target.i686-unknown-linux-gnu]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user