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
Rollup merge of rust-lang#49959 - cuviper:debuginfo-tools, r=Mark-Simulacrum
rustbuild: allow building tools with debuginfo
Debugging information for the extended tools is currently disabled for
concerns about the size. This patch adds `--enable-debuginfo-tools` to
let one opt into having that debuginfo.
This is useful for debugging the tools in distro packages. We always
strip debuginfo into separate packages anyway, so the extra size is not
a concern in regular use.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,7 @@ configuration used in the build process. Some options to note:
121
121
#### `[rust]`:
122
122
-`debuginfo = true` - Build a compiler with debuginfo. Makes building rustc slower, but then you can use a debugger to debug `rustc`.
123
123
-`debuginfo-lines = true` - An alternative to `debuginfo = true` that doesn't let you use a debugger, but doesn't make building rustc slower and still gives you line numbers in backtraces.
124
+
-`debuginfo-tools = true` - Build the extended tools with debuginfo.
124
125
-`debug-assertions = true` - Makes the log output of `debug!` work.
125
126
-`optimize = false` - Disable optimizations to speed up compilation of stage1 rust, but makes the stage1 compiler x100 slower.
0 commit comments