Avoid specific claims about debuginfo size
This commit is contained in:
parent
cc2906cb26
commit
bc7403d067
@ -263,7 +263,7 @@
|
|||||||
#debuginfo-only-std = false
|
#debuginfo-only-std = false
|
||||||
|
|
||||||
# Enable debuginfo for the extended tools: cargo, rls, rustfmt
|
# Enable debuginfo for the extended tools: cargo, rls, rustfmt
|
||||||
# Adding debuginfo increases their sizes by a factor of 3-4.
|
# Adding debuginfo makes them several times larger.
|
||||||
#debuginfo-tools = false
|
#debuginfo-tools = false
|
||||||
|
|
||||||
# Whether or not jemalloc is built and enabled
|
# Whether or not jemalloc is built and enabled
|
||||||
|
@ -624,7 +624,7 @@ impl<'a> Builder<'a> {
|
|||||||
|
|
||||||
if mode == Mode::Tool {
|
if mode == Mode::Tool {
|
||||||
// Tools like cargo and rls don't get debuginfo by default right now, but this can be
|
// Tools like cargo and rls don't get debuginfo by default right now, but this can be
|
||||||
// enabled in the config. Adding debuginfo increases their sizes by a factor of 3-4.
|
// enabled in the config. Adding debuginfo makes them several times larger.
|
||||||
if self.config.rust_debuginfo_tools {
|
if self.config.rust_debuginfo_tools {
|
||||||
cargo.env("RUSTC_DEBUGINFO", self.config.rust_debuginfo.to_string());
|
cargo.env("RUSTC_DEBUGINFO", self.config.rust_debuginfo.to_string());
|
||||||
cargo.env("RUSTC_DEBUGINFO_LINES", self.config.rust_debuginfo_lines.to_string());
|
cargo.env("RUSTC_DEBUGINFO_LINES", self.config.rust_debuginfo_lines.to_string());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user