cargo: performance flags in release
This commit is contained in:
parent
1e7d0a2807
commit
28df5d18a4
2
.cargo/config
Normal file
2
.cargo/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[build]
|
||||||
|
rustflags = ["-C", "target-cpu=native"]
|
|
@ -4,3 +4,7 @@ members = [
|
||||||
"beevee",
|
"beevee",
|
||||||
"pathtracer",
|
"pathtracer",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
Loading…
Reference in a new issue