|
@CryZe107 | |||||
|
PSA: With @rustlang 1.41 you can deactivate optimizations for the proc macros which can reduce the compile times of your clean release builds by a lot! pic.twitter.com/mdGOXexTiS
|
||||||
|
||||||
|
Jeremy
@JeremyBanks
|
30. sij |
|
Nice! Does anybody know how I could enable this? I don't see it mentioned in the 1.41 release notes.
github.com/rust-lang/rust…
|
||
|
|
||
|
CryZe
@CryZe107
|
30. sij |
|
You need want this in your Cargo.toml:
[profile.release.build-override]
opt-level = 0
(or any variant of this that fits your crate)
|
||
|
|
||
|
3-5 30-50x elves in a trench coat
@leftpaddotpy
|
30. sij |
|
Cool! Where is this change on the change log? I'm interested in playing around with it myself.
|
||
|
|
||
|
CryZe
@CryZe107
|
30. sij |
|
They "forgot" mentioning it in the release post. Here's the documentation: doc.rust-lang.org/nightly/cargo/…
You basically want this:
[profile.release.build-override]
opt-level = 0
or some variation of it
|
||
|
|
||
|
Paul Faria
@Nashenas88
|
30. sij |
|
One of my example projects drops from 2 minutes to 1 minute 10. This is amazing 😁
|
||
|
|
||
|
Dark
@TheD4rkV0id
|
30. sij |
|
this is incredible considering i have shitty hardware pic.twitter.com/VcRcuhMFvV
|
||
|
|
||