You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Share `target` directory amongst multiple projects (e.g. with `CARGO_TARGET_DIR`)
171
172
- Split crates into smaller crates
172
173
- Reduce the amount of dependencies
173
174
- Disable default Cargo features of dependencies
174
175
- Create a Cargo feature that makes certain dependencies (or their features) optional
175
176
- Reduce usage of procedural macros
176
-
- Reduce usage of generic code (e.g. by converting it to use `dyn Trait` instead)
177
+
- Reduce usage of generic code (e.g. by converting it to `dyn Trait` instead)
177
178
- Merge integration tests into a single binary
178
179
- Something else (open response)
179
180
@@ -189,7 +190,7 @@ Type: select all that apply (optional)
189
190
190
191
### Do you use a global `config.toml` override?
191
192
192
-
You can create a `config.toml` file in your `CARGO_HOME` directory (e.g. `~/.cargo/config.toml`) which can be used to apply certain compilation settings (e.g. using a faster linker) across all Cargo projects on your computer.
193
+
You can create a `config.toml` file in your `CARGO_HOME` directory (e.g. `~/.cargo/config.toml`) which can be used to apply certain compilation settings (e.g. using a faster linker) across all Cargo projects on your computer. Do you make use of this?
193
194
194
195
Type: select one (optional)
195
196
@@ -198,7 +199,7 @@ Type: select one (optional)
198
199
199
200
### Do you use a nightly compiler to achieve better compilation performance?
200
201
201
-
Please answer `Yes` if you use the `nightly` toolchain primarily for achieving better compilation performance, not for other reasons.
202
+
Please answer `Yes`only if you use the `nightly` toolchain primarily for achieving better compilation performance, not for other reasons.
202
203
203
204
Type: select one (optional)
204
205
@@ -229,7 +230,7 @@ Type: select one (optional)
229
230
- Often (e.g. multiple times per day)
230
231
- Almost always (e.g. after almost every build)
231
232
232
-
### Do you require unoptimized builds to be debuggable by default?
233
+
### Do you require unoptimized builds to have debuginfo by default?
233
234
234
235
`cargo build` with the default `dev` profile produces full debug information (debuginfo) by default. This enables debugging using a debugger, but it can also make compilation times slower (by varying amounts, e.g. 30%). In order to improve compilation performance, this debuginfo could be lowered e.g. to `line-tables-only` by default, which still enables rich backtrace information, but does not allow proper debugging.
0 commit comments