about summary refs log tree commit diff
path: root/src/bootstrap/config.toml.example
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-19 09:48:46 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-19 10:08:05 -0700
commit803576c17e24a5a9e680849346f58d6b6545fb79 (patch)
tree24050b37334719c9f544ac8803db0d7ae3542717 /src/bootstrap/config.toml.example
parenta41505f4f4a93bf94f4f7439d41afd826ab20b94 (diff)
downloadrust-803576c17e24a5a9e680849346f58d6b6545fb79.tar.gz
rust-803576c17e24a5a9e680849346f58d6b6545fb79.zip
Enable line number debuginfo in releases
This commit enables by default passing the `-C debuginfo=1` argument to the
compiler for the stable, beta, and nightly release channels. A new configure
option was also added, `--enable-debuginfo-lines`, to enable this behavior in
developer builds as well.

Closes #36452
Diffstat (limited to 'src/bootstrap/config.toml.example')
-rw-r--r--src/bootstrap/config.toml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/config.toml.example b/src/bootstrap/config.toml.example
index 39c976edc13..b4730c003d6 100644
--- a/src/bootstrap/config.toml.example
+++ b/src/bootstrap/config.toml.example
@@ -99,6 +99,9 @@
 # Whether or not debuginfo is emitted
 #debuginfo = false
 
+# Whether or not line number debug information is emitted
+#debuginfo-lines = false
+
 # Whether or not jemalloc is built and enabled
 #use-jemalloc = true