-
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 5 pull requests #94916
Rollup of 5 pull requests #94916
Commits on Mar 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9c5616a - Browse repository at this point
Copy the full SHA 9c5616aView commit details
Commits on Mar 10, 2022
-
Just as `get_mut` is the inverse of `from_mut`, `get_mut_slice` is the inverse of `from_mut_slice`.
Configuration menu - View commit details
-
Copy full SHA for ecf46d1 - Browse repository at this point
Copy the full SHA ecf46d1View commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1d13de6 - Browse repository at this point
Copy the full SHA 1d13de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5acf0 - Browse repository at this point
Copy the full SHA 6b5acf0View commit details
Commits on Mar 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 88609e5 - Browse repository at this point
Copy the full SHA 88609e5View commit details -
Use trimmed down deserialization impl for config
This reduces binary size from 10.1MiB (6.2MiB for just rustbuild code) to 9.7MiB (5.8MiB for just rustbuild code). This also reduces compile time from ~6.1s for incr recompilation to ~5.6s. There is still a lot of unnecessary code due to the toml crate monomorphizing every deserialization impl 5 times.
Configuration menu - View commit details
-
Copy full SHA for a0b4d21 - Browse repository at this point
Copy the full SHA a0b4d21View commit details -
Prevent duplicate monomorphization of deserialization impls
This reduces binary size from 9.7MiB (5.8MiB for just rustbuild code) to 9.3MiB (5.3MiB for just rustbuild code). This doesn't reduce compile time in a statistically significant way.
Configuration menu - View commit details
-
Copy full SHA for dca8ff5 - Browse repository at this point
Copy the full SHA dca8ff5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0163f7 - Browse repository at this point
Copy the full SHA a0163f7View commit details -
Omit stdarch test crates from the rust-src component
These crates aren't necessary for building the standard library. This saves 30MB of disk space. Fixes rust-lang#94906
Configuration menu - View commit details
-
Copy full SHA for cd5e75a - Browse repository at this point
Copy the full SHA cd5e75aView commit details -
Rollup merge of rust-lang#93292 - nvzqz:nonzero-bits, r=dtolnay
Implement `BITS` constant for non-zero integers This adds the associated [`BITS`](https://doc.rust-lang.org/stable/std/primitive.usize.html#associatedconstant.BITS) constant to `NonZero{U,I}{8,16,32,64,128,size}`. This is useful when a type alias refers to either a regular or non-zero integer.
Configuration menu - View commit details
-
Copy full SHA for 2f9bc56 - Browse repository at this point
Copy the full SHA 2f9bc56View commit details -
Rollup merge of rust-lang#94777 - lancethepants:armv7-unknown-linux-u…
…clibceabi, r=Mark-Simulacrum Update armv7-unknown-linux-uclibceabi platform support page. A few edits and fixes to the support page for the armv7-unknown-linux-uclibceabi target.
Configuration menu - View commit details
-
Copy full SHA for 3c943d0 - Browse repository at this point
Copy the full SHA 3c943d0View commit details -
Rollup merge of rust-lang#94816 - WaffleLapkin:atomic_get_mut_slice, …
…r=Mark-Simulacrum Add `Atomic*::get_mut_slice` This PR adds the inverse of `Atomic*::from_mut_slice` introduced in rust-lang#94384 with the following API: ```rust // core::sync::atomic impl Atomic* { fn get_mut_slice(this: &mut [Self]) -> &mut [*]; } ``` cc `@cuviper` ----- For now I've used the same tracking issue as `Atomic*::from_mut_slice`, should I open a new one?
Configuration menu - View commit details
-
Copy full SHA for 8dad2d1 - Browse repository at this point
Copy the full SHA 8dad2d1View commit details -
Rollup merge of rust-lang#94844 - bjorn3:rustbuild_cleanup, r=Mark-Si…
…mulacrum Reduce rustbuild bloat caused by serde_derive This reduces the size of the `.text` section from 10.1MiB (6.2MiB for just rustbuild code) to 9.3MiB (5.3MiB for just rustbuild code). This also reduces compile time from ~6.1s for incr recompilation to ~5.6s. r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for d14ba95 - Browse repository at this point
Copy the full SHA d14ba95View commit details -
Rollup merge of rust-lang#94907 - bjorn3:smaller_rust_src_component, …
…r=Mark-Simulacrum Omit stdarch test crates from the rust-src component These crates aren't necessary for building the standard library. This saves 30MB of disk space. Fixes rust-lang#94906
Configuration menu - View commit details
-
Copy full SHA for c7030d3 - Browse repository at this point
Copy the full SHA c7030d3View commit details