-
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 6 pull requests #99825
Rollup of 6 pull requests #99825
Commits on Jul 27, 2022
-
Update mentions to
rustc_metadata::rmeta::Lazy
Signed-off-by: Yuki Okushi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 645a883 - Browse repository at this point
Copy the full SHA 645a883View commit details -
doc/rustc: describe the uefi target platforms
Add a `platform-support` entry to the rustc-docs for the different `*-unknown-uefi` targets. This describes in detail how this platform works, a few basic examples, and how to compile for the platform. Red Hat is sponsoring my work on this platform, so I am putting myself down as target maintainer. Co-maintainers are more than welcome to join me in the effort. Communication is going on off-list to coordinate the different efforts. Note that the ultimate goal is to move the UEFI targets to Tier-2 so bootloaders can be more easily supported in commercial products. This documentation is the first step towards that goal, but should be a viable documentation even for the current Tier-3 status of the targets. I also want to point out that there is an ongoing GSoC-effort to port the rust standard library to UEFI (by Ayush Singh). While this work is not necessarily required to get to Tier-2, we definitely should coordinate the efforts and update the documentation as soon as any such ports are merged. Note that the targets are already used by multiple commercial and non commercial production systems, including, but not limited to: * Tianocore-EDK2 (Official UEFI SDK by Intel) comes with rust support in its staging repository (not part of any release, yet). (https://github.com/tianocore/edk2-staging/tree) * Intel's research program "Project Mu" uses the rust UEFI targets to show possible future replacements for Tianocore-EDK2. * The Rust OS "Redox" uses the UEFI targets for its bootloader. (https://www.redox-os.org/) * The hugely popular in-depth documentation of OS development in Rust by Philipp Oppermann uses the UEFI targets. (https://os.phil-opp.com/) Signed-off-by: David Rheinsberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e849f9b - Browse repository at this point
Copy the full SHA e849f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d118c5 - Browse repository at this point
Copy the full SHA 9d118c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1564305 - Browse repository at this point
Copy the full SHA 1564305View commit details -
Allow using stable os::fd::raw items through unstable os::wasi module
This fixes a regression from stable to nightly. Closes rust-lang#99502.
Configuration menu - View commit details
-
Copy full SHA for 0eb28ab - Browse repository at this point
Copy the full SHA 0eb28abView commit details -
Initial (incomplete) implementation of transmutability trait.
This initial implementation handles transmutations between types with specified layouts, except when references are involved. Co-authored-by: Igor null <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc4a1de - Browse repository at this point
Copy the full SHA bc4a1deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18751a7 - Browse repository at this point
Copy the full SHA 18751a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5c291 - Browse repository at this point
Copy the full SHA 8c5c291View commit details -
safe transmute: revise
Hash
,PartialEq
impls onVariantDef
, `Fi……eldDef` Exhaustively destructure parameter(s) so that changes to type definitions will lead to compile errors, thus reminding contributors to re-assess the assumptions underpinning these impls. ref: rust-lang#92268 ref: rust-lang#92268
Configuration menu - View commit details
-
Copy full SHA for 0fa70c3 - Browse repository at this point
Copy the full SHA 0fa70c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0d0ce9 - Browse repository at this point
Copy the full SHA c0d0ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a15157 - Browse repository at this point
Copy the full SHA 4a15157View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402644f - Browse repository at this point
Copy the full SHA 402644fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21d1ab4 - Browse repository at this point
Copy the full SHA 21d1ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b78c3da - Browse repository at this point
Copy the full SHA b78c3daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2268603 - Browse repository at this point
Copy the full SHA 2268603View commit details -
Configuration menu - View commit details
-
Copy full SHA for aee5f31 - Browse repository at this point
Copy the full SHA aee5f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aca883 - Browse repository at this point
Copy the full SHA 8aca883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ea9916 - Browse repository at this point
Copy the full SHA 3ea9916View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f03cbd - Browse repository at this point
Copy the full SHA 2f03cbdView commit details -
Rollup merge of rust-lang#92268 - jswrenn:transmute, r=oli-obk
Initial implementation of transmutability trait. *T'was the night before Christmas and all through the codebase, not a miri was stirring — no hint of `unsafe`!* This PR provides an initial, **incomplete** implementation of *[MCP 411: Lang Item for Transmutability](rust-lang/compiler-team#411. The `core::mem::BikeshedIntrinsicFrom` trait provided by this PR is implemented on-the-fly by the compiler for types `Src` and `Dst` when the bits of all possible values of type `Src` are safely reinterpretable as a value of type `Dst`. What this PR provides is: - [x] [support for transmutations involving primitives](https://github.com/jswrenn/rust/tree/transmute/src/test/ui/transmutability/primitives) - [x] [support for transmutations involving arrays](https://github.com/jswrenn/rust/tree/transmute/src/test/ui/transmutability/arrays) - [x] [support for transmutations involving structs](https://github.com/jswrenn/rust/tree/transmute/src/test/ui/transmutability/structs) - [x] [support for transmutations involving enums](https://github.com/jswrenn/rust/tree/transmute/src/test/ui/transmutability/enums) - [x] [support for transmutations involving unions](https://github.com/jswrenn/rust/tree/transmute/src/test/ui/transmutability/unions) - [x] [support for weaker validity checks](https://github.com/jswrenn/rust/blob/transmute/src/test/ui/transmutability/unions/should_permit_intersecting_if_validity_is_assumed.rs) (i.e., `Assume::VALIDITY`) - [x] visibility checking What isn't yet implemented: - [ ] transmutability options passed using the `Assume` struct - [ ] [support for references](https://github.com/jswrenn/rust/blob/transmute/src/test/ui/transmutability/references.rs) - [ ] smarter error messages These features will be implemented in future PRs.
Configuration menu - View commit details
-
Copy full SHA for fef95da - Browse repository at this point
Copy the full SHA fef95daView commit details -
Rollup merge of rust-lang#99723 - bstrie:wasifd, r=yaahc
Allow using stable os::fd::raw items through unstable os::wasi module This fixes a regression from stable to nightly. Closes rust-lang#99502.
Configuration menu - View commit details
-
Copy full SHA for 46e21aa - Browse repository at this point
Copy the full SHA 46e21aaView commit details -
Rollup merge of rust-lang#99760 - dvdhrm:rw/uefiplat, r=ehuss
doc/rustc: describe the uefi target platforms Add a `platform-support` entry to the rustc-docs for the different `*-unknown-uefi` targets. This describes in detail how this platform works, a few basic examples, and how to compile for the platform. Red Hat is sponsoring my work on this platform, so I am putting myself down as target maintainer. Co-maintainers are more than welcome to join me in the effort. Communication is going on off-list to coordinate the different efforts. Note that the ultimate goal is to move the UEFI targets to Tier-2 so bootloaders can be more easily supported in commercial products. This documentation is the first step towards that goal, but should be a viable documentation even for the current Tier-3 status of the targets. I also want to point out that there is an ongoing GSoC-effort to port the rust standard library to UEFI (by Ayush Singh). While this work is not necessarily required to get to Tier-2, we definitely should coordinate the efforts and update the documentation as soon as any such ports are merged. Note that the targets are already used by multiple commercial and non commercial production systems, including, but not limited to: * Tianocore-EDK2 (Official UEFI SDK by Intel) comes with rust support in its staging repository (not part of any release, yet). (https://github.com/tianocore/edk2-staging/tree) * Intel's research program "Project Mu" uses the rust UEFI targets to show possible future replacements for Tianocore-EDK2. * The Rust OS "Redox" uses the UEFI targets for its bootloader. (https://www.redox-os.org/) * The hugely popular in-depth documentation of OS development in Rust by Philipp Oppermann uses the UEFI targets. (https://os.phil-opp.com/)
Configuration menu - View commit details
-
Copy full SHA for 24f6d02 - Browse repository at this point
Copy the full SHA 24f6d02View commit details -
Rollup merge of rust-lang#99803 - JohnTitor:update-lazy-docs, r=compi…
…ler-errors Update mentions to `rustc_metadata::rmeta::Lazy` While working on rust-lang/rustc-dev-guide#1411, I noticed there are still some mentions of `Lazy`. This updates them to `LazyValue`, `LazyArray`, or `LazyTable`. r? `@compiler-errors` Signed-off-by: Yuki Okushi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e81f2f9 - Browse repository at this point
Copy the full SHA e81f2f9View commit details -
Rollup merge of rust-lang#99810 - GuillaumeGomez:fix-settings-slider-…
…small-width, r=notriddle Fix settings slider on small width screens Fixes rust-lang#99794. Screenshot of the fix: ![Screenshot from 2022-07-27 14-17-08](https://user-images.githubusercontent.com/3050060/181250007-55f982d1-89db-45b7-a4f1-0d1729e6a3e3.png) cc `@jsha` r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 151ba52 - Browse repository at this point
Copy the full SHA 151ba52View commit details -
Rollup merge of rust-lang#99817 - notriddle:notriddle/clean-trait-rem…
…oval, r=GuillaumeGomez rustdoc: remove Clean trait impls for more items Follow up to rust-lang#99638 and rust-lang#99672
Configuration menu - View commit details
-
Copy full SHA for 6c23495 - Browse repository at this point
Copy the full SHA 6c23495View commit details