-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 6 pull requests #98234
Rollup of 6 pull requests #98234
Commits on Jun 8, 2022
-
Don't build the compiler before building rust-demangler
This saves a lot of time compiling.
Configuration menu - View commit details
-
Copy full SHA for 37f9cdb - Browse repository at this point
Copy the full SHA 37f9cdbView commit details
Commits on Jun 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 965a68a - Browse repository at this point
Copy the full SHA 965a68aView commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c360dc - Browse repository at this point
Copy the full SHA 7c360dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a2db3 - Browse repository at this point
Copy the full SHA c1a2db3View commit details
Commits on Jun 17, 2022
-
impl<T: AsRawFd> for {Arc,Box}<T>
This allows implementing traits that require a raw FD on Arc and Box. Previously, you'd have to add the function to the trait itself: ```rust trait MyTrait { fn as_raw_fd(&self) -> RawFd; } impl<T: MyTrait> MyTrait for Arc<T> { fn as_raw_fd(&self) -> RawFd { (**self).as_raw_fd() } } ```
Configuration menu - View commit details
-
Copy full SHA for 8f23586 - Browse repository at this point
Copy the full SHA 8f23586View commit details -
4 commits in 4d92f07f34ba7fb7d7f207564942508f46c225d3..8d42b0e8794ce3787c9f7d6d88b02ae80ebe8d19 2022-06-10 01:11:04 +0000 to 2022-06-17 16:46:26 +0000 - Use specific terminology for sparse HTTP-based registry (rust-lang/cargo#10764) - chore: Upgrade to clap 3.2 (rust-lang/cargo#10753) - Improve testing framework for http registries (rust-lang/cargo#10738) - doc: Improve example of using the links field (rust-lang/cargo#10728)
Configuration menu - View commit details
-
Copy full SHA for b59abdc - Browse repository at this point
Copy the full SHA b59abdcView commit details
Commits on Jun 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 86f979b - Browse repository at this point
Copy the full SHA 86f979bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec78ff4 - Browse repository at this point
Copy the full SHA ec78ff4View commit details -
Rollup merge of rust-lang#97437 - jyn514:impl-asrawfd-arc, r=dtolnay
`impl<T: AsRawFd> AsRawFd for {Arc,Box}<T>` This allows implementing traits that require a raw FD on Arc and Box. Previously, you'd have to add the function to the trait itself: ```rust trait MyTrait { fn as_raw_fd(&self) -> RawFd; } impl<T: MyTrait> MyTrait for Arc<T> { fn as_raw_fd(&self) -> RawFd { (**self).as_raw_fd() } } ``` In particular, this leads to lots of "multiple applicable items in scope" errors because you have to disambiguate `MyTrait::as_raw_fd` from `AsRawFd::as_raw_fd` at each call site. In generic contexts, when passing the type to a function that takes `impl AsRawFd` it's also sometimes required to use `T: MyTrait + AsRawFd`, which wouldn't be necessary if I could write `MyTrait: AsRawFd`. After this PR, the code can be simpler: ```rust trait MyTrait: AsRawFd {} impl<T: MyTrait> MyTrait for Arc<T> {} ```
Configuration menu - View commit details
-
Copy full SHA for 15faca8 - Browse repository at this point
Copy the full SHA 15faca8View commit details -
Rollup merge of rust-lang#97511 - jyn514:faster-cargo-build, r=Mark-S…
…imulacrum Don't build the compiler before building rust-demangler This saves a lot of time compiling, since rust-demangler doesn't actually use any unstable features. This is not quite ideal because it uses ToolStd, not ToolBootstrap, so rust-demangler would be able to add unstable library features in the future. But it's a lot better than before, and `builder.cargo` doesn't currently know how to handle stages other than 0.
Configuration menu - View commit details
-
Copy full SHA for 33e04c1 - Browse repository at this point
Copy the full SHA 33e04c1View commit details -
Rollup merge of rust-lang#98005 - compiler-errors:impossible-bounds, …
…r=Mark-Simulacrum Add some tests for impossible bounds Adds test for rust-lang#93008 Adds test for rust-lang#94680 Closes rust-lang#94999 Closes rust-lang#95640
Configuration menu - View commit details
-
Copy full SHA for 1dad353 - Browse repository at this point
Copy the full SHA 1dad353View commit details -
Rollup merge of rust-lang#98165 - WaffleLapkin:once_things_renamings,…
… r=m-ou-se once cell renamings This PR does the renamings proposed in rust-lang#74465 (comment) - Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}` - Move/rename `lazy::{SyncOnceCell, SyncLazy}` to `sync::{OnceLock, LazyLock}` (I used `Lazy...` instead of `...Lazy` as it seems to be more consistent, easier to pronounce, etc) `@rustbot` label +T-libs-api -T-libs
Configuration menu - View commit details
-
Copy full SHA for 2be5797 - Browse repository at this point
Copy the full SHA 2be5797View commit details -
Rollup merge of rust-lang#98207 - arlosi:update-cargo, r=Dylan-DPC
Update cargo 4 commits in 4d92f07f34ba7fb7d7f207564942508f46c225d3..8d42b0e8794ce3787c9f7d6d88b02ae80ebe8d19 2022-06-10 01:11:04 +0000 to 2022-06-17 16:46:26 +0000 - Use specific terminology for sparse HTTP-based registry (rust-lang/cargo#10764) - chore: Upgrade to clap 3.2 (rust-lang/cargo#10753) - Improve testing framework for http registries (rust-lang/cargo#10738) - doc: Improve example of using the links field (rust-lang/cargo#10728)
Configuration menu - View commit details
-
Copy full SHA for 896ea6c - Browse repository at this point
Copy the full SHA 896ea6cView commit details -
Rollup merge of rust-lang#98229 - GuillaumeGomez:eslint-checks, r=Dyl…
…an-DPC Add new eslint checks r? `@Dylan-DPC`
Configuration menu - View commit details
-
Copy full SHA for 965f499 - Browse repository at this point
Copy the full SHA 965f499View commit details