Skip to content

Rollup of 8 pull requests #50003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
360f2f0
Inline most of the code paths for conversions with boxed slices
nox Mar 31, 2018
4577da7
Use box syntax instead of Box::new in Mutex::remutex on Windows
glandium Apr 4, 2018
d4dff03
Remove inline on Vec::shrink_to_fit as asked by Alex
nox Apr 8, 2018
7ab31f6
Prevent EPIPE causing ICEs in rustc and rustdoc
varkor Apr 10, 2018
cc2906c
rustbuild: allow building tools with debuginfo
cuviper Apr 13, 2018
6f5a16b
fix error span
csmoe Apr 13, 2018
bc7403d
Avoid specific claims about debuginfo size
cuviper Apr 14, 2018
93734e9
Make debuginfo-tools always default false
cuviper Apr 14, 2018
cbabb1b
Remove warning about f64->f32 cast being potential UB
nikic Apr 14, 2018
b59fa0d
Remove #[inline(always)] on Vec::into_boxed_slice
nox Apr 15, 2018
afa22d6
Remove unnecessary indentation in rustdoc book codeblock.
frewsxcv Apr 16, 2018
bf60295
Rollup merge of #49555 - nox:inline-into-boxed, r=alexcrichton
kennytm Apr 16, 2018
ccd2c40
Rollup merge of #49606 - varkor:pipe-repair, r=alexcrichton
kennytm Apr 16, 2018
e4991b2
Rollup merge of #49646 - glandium:uninitialized-box, r=alexcrichton
kennytm Apr 16, 2018
6c3e1d7
Remove `underscore_lifetimes` and `match_default_bindings` from activ…
kennytm Apr 4, 2018
73ea893
Rollup merge of #49931 - csmoe:end_span, r=estebank
kennytm Apr 16, 2018
34ee31d
Rollup merge of #49959 - cuviper:debuginfo-tools, r=Mark-Simulacrum
kennytm Apr 16, 2018
87cd53e
Rollup merge of #49965 - nikic:fix-49622, r=rkruppe
kennytm Apr 16, 2018
932431c
Rollup merge of #49994 - frewsxcv:frewsxcv-doc-tests, r=QuietMisdreavus
kennytm Apr 16, 2018
bf16e4b
Rollup merge of #49647 - kennytm:duplicated-features, r=aturon
kennytm Apr 16, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid specific claims about debuginfo size
  • Loading branch information
cuviper committed Apr 14, 2018
commit bc7403d067b3e2a154df1ef088377cb2a75f429c
2 changes: 1 addition & 1 deletion config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
#debuginfo-only-std = false

# 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

# Whether or not jemalloc is built and enabled
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ impl<'a> Builder<'a> {

if mode == Mode::Tool {
// 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 {
cargo.env("RUSTC_DEBUGINFO", self.config.rust_debuginfo.to_string());
cargo.env("RUSTC_DEBUGINFO_LINES", self.config.rust_debuginfo_lines.to_string());
Expand Down