-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 8 pull requests #49744
Rollup of 8 pull requests #49744
Conversation
This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes.
These were showing up in tests and in binaries but are trivially optimize-able away, so add `#[inline]` attributes so LLVM has an opportunity to optimize them out.
This includes search for all books, a long-requested feature!
This is rarely noticed, but when you have old submodules, not updating them will cause you run into rust-lang/cargo#4678.
…ackler std: Minimize size of panicking on wasm This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes.
…n, r=QuietMisdreavus Fix anchor position on fields Take a look at `Option` variants for example and try to click on `§` to get the issue. r? @QuietMisdreavus
…aumeGomez update mdbook This includes search for all books, a long-requested feature!
…QuietMisdreavus Fix anchors issue when everything is collapsed Fixes rust-lang#49455. @frewsxcv does it seem good for you like this? r? @QuietMisdreavus
…-Simulacrum std: Inline some Termination-related methods These were showing up in tests and in binaries but are trivially optimize-able away, so add `#[inline]` attributes so LLVM has an opportunity to optimize them out.
…Mark-Simulacrum bootstrap: Remove the help fast path This is rarely noticed, but when you have old submodules, not updating them will cause you run into rust-lang/cargo#4678.
…richton add THUMB targets to rustup manifest as instructed in rust-lang#49563 (comment) r? @alexcrichton
Using X headings instead of 0.X rust-lang#49739 Fix rust-lang#49739
Some changes occurred in HTML/CSS. |
r? @shepmaster (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ p=8 |
📌 Commit 4b459aa has been approved by |
⌛ Testing commit 4b459aa with merge 0cd192455f210bee0b8c9f09b5296dad06888099... |
💔 Test failed - status-travis |
Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Successful merges:
Failed merges: