-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #116769
Rollup of 8 pull requests #116769
Commits on Sep 19, 2023
-
Stabilize
{IpAddr, Ipv6Addr}::to_canonical
Make `IpAddr::to_canonical` and `IpV6Addr::to_canonical` stable, as well as const stabilize `Ipv6Addr::to_ipv4_mapped`. Newly stable API: impl IpAddr { // Now stable under `ip_to_canonical` const fn to_canonical(&self) -> IpAddr; } impl Ipv6Addr { // Now stable under `ip_to_canonical` const fn to_canonical(&self) -> IpAddr; // Already stable, this makes it const stable under // `const_ipv6_to_ipv4_mapped` const fn to_ipv4_mapped(&self) -> Option<Ipv4Addr> } These stabilize a subset of the following tracking issues: - rust-lang#27709 - rust-lang#76205
Configuration menu - View commit details
-
Copy full SHA for 7381f9d - Browse repository at this point
Copy the full SHA 7381f9dView commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 559ec69 - Browse repository at this point
Copy the full SHA 559ec69View commit details
Commits on Oct 14, 2023
-
Make x capable of resolving symlinks
When bootstrapping from outside of the rust source, instead of calling 'x' from the absolute path (like /home/user/rust/x), we should be able to link 'x' from the rust source to binary paths so it can be used easily. Before this change, 'x' was not capable of finding 'x.py' when called from the linked file. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for e0fe1d6 - Browse repository at this point
Copy the full SHA e0fe1d6View commit details
Commits on Oct 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b50aa24 - Browse repository at this point
Copy the full SHA b50aa24View commit details -
Remove trivial cast in
guaranteed_eq
I found this while accidentally breaking trivial casts in another branch.
Configuration menu - View commit details
-
Copy full SHA for fe9d422 - Browse repository at this point
Copy the full SHA fe9d422View commit details -
Configuration menu - View commit details
-
Copy full SHA for 223674a - Browse repository at this point
Copy the full SHA 223674aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6beb394 - Browse repository at this point
Copy the full SHA 6beb394View commit details -
- Uses `EFI_LOADED_IMAGE_PROTOCOL` - verify that cli args are valid UTF-16 - Update Docs Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6713ae9 - Browse repository at this point
Copy the full SHA 6713ae9View commit details -
Rollup merge of rust-lang#115955 - tgross35:ip-to-canonical, r=dtolnay
Stabilize `{IpAddr, Ipv6Addr}::to_canonical` Make `IpAddr::to_canonical` and `IpV6Addr::to_canonical` stable (+const), as well as const stabilize `Ipv6Addr::to_ipv4_mapped`. Newly stable API: ```rust impl IpAddr { // Newly stable under `ip_to_canonical` const fn to_canonical(&self) -> IpAddr; } impl Ipv6Addr { // Newly stable under `ip_to_canonical` const fn to_canonical(&self) -> IpAddr; // Already stable, this makes it const stable under // `const_ipv6_to_ipv4_mapped` const fn to_ipv4_mapped(&self) -> Option<Ipv4Addr> } ``` These stabilize a subset of the following tracking issues: - rust-lang#27709 - rust-lang#76205 Stabilization of all methods under the `ip` gate was attempted once at rust-lang#66584 then again at rust-lang#76098. These were not successful because there are still unknowns about `is_documentation` `is_benchmarking` and similar; `to_canonical` is much more straightforward. I have looked and could not find any known issues with `to_canonical`. These were added in 2021 in rust-lang#87708 cc implementor `@the8472` r? libs-api `@rustbot` label +T-libs-api +needs-fcp
Configuration menu - View commit details
-
Copy full SHA for 0e5cf4f - Browse repository at this point
Copy the full SHA 0e5cf4fView commit details -
Rollup merge of rust-lang#116033 - bvanjoi:fix-116032, r=petrochenkov
report `unused_import` for empty reexports even it is pub Fixes rust-lang#116032 An easy fix. r? `@petrochenkov` (Discovered this issue while reviewing rust-lang#115993.)
Configuration menu - View commit details
-
Copy full SHA for 8a2877b - Browse repository at this point
Copy the full SHA 8a2877bView commit details -
Rollup merge of rust-lang#116172 - joboet:recursive_tls_initializatio…
…n, r=dtolnay Broaden the consequences of recursive TLS initialization This PR updates the documentation of `LocalKey` to clearly disallow the behaviour described in [this comment](rust-lang#110897 (comment)). This allows using `OnceCell` for the lazy initialization of TLS variables, which panics on reentrant initialization instead of updating the value like TLS variables currently do. `@rustbot` label +T-libs-api r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for 8c1b136 - Browse repository at this point
Copy the full SHA 8c1b136View commit details -
Rollup merge of rust-lang#116341 - Ayush1325:uefi-args, r=Mark-Simula…
…crum Implement sys::args for UEFI - Uses `EFI_LOADED_IMAGE_PROTOCOL`, which is implemented for all loaded images. Tested on qemu with OVMF cc `@nicholasbishop` cc `@dvdhrm`
Configuration menu - View commit details
-
Copy full SHA for bb6ef61 - Browse repository at this point
Copy the full SHA bb6ef61View commit details -
Rollup merge of rust-lang#116522 - bvanjoi:fix-115599, r=oli-obk
use `PatKind::Error` when an ADT const value has violation Fixes rust-lang#115599 Since the [to_pat](https://github.com/rust-lang/rust/pull/111913/files#diff-6d8d99538aca600d633270051580c7a9e40b35824ea2863d9dda2c85a733b5d9R126-R155) behavior has been changed in the rust-lang#111913 update, the kind of `inlined_const_ast_pat` has transformed from `PatKind::Leaf { pattern: Pat { kind: Wild, ..} } ` to `PatKind::Constant`. This caused a scenario where there are no matched candidates, leading to a testing of the candidates. This process ultimately attempts to test the string const, triggering the `bug!` invocation finally. r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 74e0fd3 - Browse repository at this point
Copy the full SHA 74e0fd3View commit details -
Rollup merge of rust-lang#116732 - onur-ozkan:resolve-linked-x, r=Mar…
…k-Simulacrum Make x capable of resolving symlinks When bootstrapping from outside of the rust source, instead of calling 'x' from the absolute path (like /home/user/rust/x), we should be able to link 'x' from the rust source to binary paths so it can be used easily. Before this change, 'x' was not capable of finding 'x.py' when called from the linked file.
Configuration menu - View commit details
-
Copy full SHA for 11a0b4f - Browse repository at this point
Copy the full SHA 11a0b4fView commit details -
Rollup merge of rust-lang#116755 - scottmcm:review-rotation, r=Mark-S…
…imulacrum Remove me from libcore review rotation I'm looking at my commitments right now, and unfortunately this needs to go for at least a while. If there's something in particular I can probably still take them, but I should drop out of the rotation for now.
Configuration menu - View commit details
-
Copy full SHA for 2bc2522 - Browse repository at this point
Copy the full SHA 2bc2522View commit details -
Rollup merge of rust-lang#116760 - Nilstrieb:triviality, r=oli-obk
Remove trivial cast in `guaranteed_eq` I found this while accidentally breaking trivial casts in another branch. r? oli-obk
Configuration menu - View commit details
-
Copy full SHA for fe8ff72 - Browse repository at this point
Copy the full SHA fe8ff72View commit details