-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 4 pull requests #70775
Rollup of 4 pull requests #70775
Commits on Apr 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f8d6fc1 - Browse repository at this point
Copy the full SHA f8d6fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fdd4f3 - Browse repository at this point
Copy the full SHA 6fdd4f3View commit details -
Do not disable field reordering on enums with big discriminant
The field are always re-ordered to minimize padding, regardless of the alignment of the discriminant
Configuration menu - View commit details
-
Copy full SHA for 6b6cb7b - Browse repository at this point
Copy the full SHA 6b6cb7bView commit details
Commits on Apr 4, 2020
-
use ManuallyDrop instead of forget inside collections
This commit changes some usage of mem::forget into mem::ManuallyDrop in some Vec, VecDeque, BTreeMap and Box methods. Before the commit, the generated IR for some of the methods was longer, and even after optimization, some unwinding artifacts were still present.
Configuration menu - View commit details
-
Copy full SHA for 2b718e8 - Browse repository at this point
Copy the full SHA 2b718e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd79400 - Browse repository at this point
Copy the full SHA cd79400View commit details -
Rollup merge of rust-lang#70635 - petrochenkov:nodefault, r=nagisa
rustc_target: Some cleanup to `no_default_libraries`
Configuration menu - View commit details
-
Copy full SHA for 54bbe07 - Browse repository at this point
Copy the full SHA 54bbe07View commit details -
Rollup merge of rust-lang#70748 - ogoffart:enum-layout-optim2, r=eddyb
Do not disable field reordering on enums with big discriminant The field are always re-ordered to minimize padding, regardless of the alignment of the discriminant (spinoff from rust-lang#70477)
Configuration menu - View commit details
-
Copy full SHA for d49221f - Browse repository at this point
Copy the full SHA d49221fView commit details -
Rollup merge of rust-lang#70750 - cuviper:direct-fuse, r=scottmcm
Match options directly in the Fuse implementation Rather than using `as_ref()`, `as_mut()`, and `?`, we can use `match` directly to save a lot of generated code. This was mentioned as a possibility in rust-lang#70366 (comment), and I found that it had a very large impact on rust-lang#70332 using `Fuse` within `Chain`. Let's evaluate this change on its own first.
Configuration menu - View commit details
-
Copy full SHA for d0e10c7 - Browse repository at this point
Copy the full SHA d0e10c7View commit details -
Rollup merge of rust-lang#70766 - tspiteri:forget-to-ManuallyDrop, r=…
…Mark-Simulacrum,RalfJung use ManuallyDrop instead of forget inside collections This PR changes some usage of `mem::forget` into `mem::ManuallyDrop` in some `Vec`, `VecDeque`, `BTreeMap` and `Box` methods. Before the commit, the generated IR for some of the methods was longer, and even after optimization, some unwinding artifacts were still present.
Configuration menu - View commit details
-
Copy full SHA for 55680e4 - Browse repository at this point
Copy the full SHA 55680e4View commit details