summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-04-13 16:52:54 -0700
committerJosh Stone <jistone@redhat.com>2018-04-13 16:52:54 -0700
commitcc2906cb26304301709557a88ac4a3334b88616b (patch)
treedbf063997d29feaec4b3d635b3f2ca686ea881cd /CONTRIBUTING.md
parentAuto merge of #49830 - sinkuu:fix_ice_47715, r=cramertj (diff)
downloadgrust-cc2906cb26304301709557a88ac4a3334b88616b.tar.gz
grust-cc2906cb26304301709557a88ac4a3334b88616b.tar.bz2
grust-cc2906cb26304301709557a88ac4a3334b88616b.tar.xz
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.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7a62405f05..73d4188d69 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -121,6 +121,7 @@ configuration used in the build process. Some options to note:
121#### `[rust]`: 121#### `[rust]`:
122- `debuginfo = true` - Build a compiler with debuginfo. Makes building rustc slower, but then you can use a debugger to debug `rustc`. 122- `debuginfo = true` - Build a compiler with debuginfo. Makes building rustc slower, but then you can use a debugger to debug `rustc`.
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. 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- `debug-assertions = true` - Makes the log output of `debug!` work. 125- `debug-assertions = true` - Makes the log output of `debug!` work.
125- `optimize = false` - Disable optimizations to speed up compilation of stage1 rust, but makes the stage1 compiler x100 slower. 126- `optimize = false` - Disable optimizations to speed up compilation of stage1 rust, but makes the stage1 compiler x100 slower.
126 127