Conversation
|
What would |
It's an alias for fat, https://doc.rust-lang.org/rustc/codegen-options/index.html#lto. true seems less clear to me given that there are multiple significantly different ways for lto to be turned on. |
|
I agree that this would make sense for binaries that we're shipping, but less clear that it's good for all release builds? For instance crater always does a release build, and making that take two extra minutes every time has a real cost (particularly when I'm paying it to run locally on a smaller set of fonts, which might only take a couple of minutes already) |
|
Good point. Maybe we should make the binary production for releases use a custom profile? Or ... given that the intuitive interpretation of release is that it's the one to release perhaps we should flip that and have crater use a crater-specific profile? |
|
It looks like we can have profiles inherit from other profiles, and their example is a |
Exploratory adjustment based on #1359.
Tested locally the impact on size and compile time is significant: