about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-08-30 22:40:16 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-08-30 22:40:16 -0400
commit41c13826f89665a4cf05c2e7ae470cb38fc699bc (patch)
treec8ec50f0c9aae99eb0e30f23b0c20acd312ab488
parentd983873cff7467e457bb5b3904ae7c238ffc2d38 (diff)
downloadrust-41c13826f89665a4cf05c2e7ae470cb38fc699bc.tar.gz
rust-41c13826f89665a4cf05c2e7ae470cb38fc699bc.zip
Mention why you'd want codegen-units = 0 (other than running out of RAM)
-rw-r--r--config.toml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index dd322c75932..2aba9445084 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -306,6 +306,9 @@
 #
 #debug = false
 
+# This will make your build more parallel; it costs a bit of runtime
+# performance perhaps (less inlining) but it's worth it.
+#
 # Number of codegen units to use for each compiler invocation. A value of 0
 # means "the number of cores on this machine", and 1+ is passed through to the
 # compiler.