-
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 8 pull requests #131672
Rollup of 8 pull requests #131672
Commits on Oct 3, 2024
-
std::fs::get_path freebsd update.
what matters is we re doing the right things as doing sizeof, rather than KINFO_FILE_SIZE (only defined on intel architectures), the kernel making sure it matches the expectation in its side.
Configuration menu - View commit details
-
Copy full SHA for 82b4d0d - Browse repository at this point
Copy the full SHA 82b4d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65532e7 - Browse repository at this point
Copy the full SHA 65532e7View commit details
Commits on Oct 5, 2024
-
library: Stabilize const
MaybeUninit::assume_init_mut
Co-authored-by: Ralf Jung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 0b00a54 - Browse repository at this point
Copy the full SHA 0b00a54View commit details
Commits on Oct 11, 2024
-
emscripten: Use the latest emsdk 3.1.68
This should fix our precompiled std being unsound in `std::fs` code.
Configuration menu - View commit details
-
Copy full SHA for 2c38ecf - Browse repository at this point
Copy the full SHA 2c38ecfView commit details
Commits on Oct 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 559de74 - Browse repository at this point
Copy the full SHA 559de74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 255bdd2 - Browse repository at this point
Copy the full SHA 255bdd2View commit details -
compiler: Wire
{TyAnd,}Layout
intorustc_abi
This finally unites TyAndLayout, Layout, and LayoutS into the same crate, as one might imagine they would be placed. No functional changes.
Configuration menu - View commit details
-
Copy full SHA for 1072190 - Browse repository at this point
Copy the full SHA 1072190View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4366b - Browse repository at this point
Copy the full SHA bc4366bView commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ebfd97 - Browse repository at this point
Copy the full SHA 1ebfd97View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e91a0 - Browse repository at this point
Copy the full SHA b5e91a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 725d1f7 - Browse repository at this point
Copy the full SHA 725d1f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b7e399 - Browse repository at this point
Copy the full SHA 0b7e399View commit details
Commits on Oct 14, 2024
-
Rollup merge of rust-lang#128967 - devnexen:get_path_fbsd_upd, r=joboet
std::fs::get_path freebsd update. what matters is we re doing the right things as doing sizeof, rather than passing KINFO_FILE_SIZE (only defined on intel architectures), the kernel making sure it matches the expectation in its side.
Configuration menu - View commit details
-
Copy full SHA for 55f8b9e - Browse repository at this point
Copy the full SHA 55f8b9eView commit details -
Rollup merge of rust-lang#130629 - Dirbaio:net-from-octets, r=tgross35
core/net: add Ipv[46]Addr::from_octets, Ipv6Addr::from_segments. Adds: - `Ipv4Address::from_octets([u8;4])` - `Ipv6Address::from_octets([u8;16])` - `Ipv6Address::from_segments([u16;8])` equivalent to the existing `From` impls. Advantages: - Consistent with `to_bits, from_bits`. - More discoverable than the `From` impls. - Helps with type inference: it's common to want to convert byte slices to IP addrs. If you try this ```rust fn foo(x: &[u8]) -> Ipv4Addr { Ipv4Addr::from(foo.try_into().unwrap()) } ``` it [doesn't work](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=0e2873312de275a58fa6e33d1b213bec). You have to write `Ipv4Addr::from(<[u8;4]>::try_from(x).unwrap())` instead, which is not great. With `from_octets` it is able to infer the right types. Found this while porting [smoltcp](https://github.com/smoltcp-rs/smoltcp/) from its own IP address types to the `core::net` types. ~~Tracking issues rust-lang#27709 rust-lang#76205~~ Tracking issue: rust-lang#131360
Configuration menu - View commit details
-
Copy full SHA for e01eae7 - Browse repository at this point
Copy the full SHA e01eae7View commit details -
Rollup merge of rust-lang#131274 - workingjubilee:stabilize-the-one-t…
…hat-got-away, r=scottmcm library: Const-stabilize `MaybeUninit::assume_init_mut` FCP completed in rust-lang#86722 (comment) Also moves const-ness of an unstable fn under the `maybe_uninit_slice` gate, Cc rust-lang#63569
Configuration menu - View commit details
-
Copy full SHA for cc5d86a - Browse repository at this point
Copy the full SHA cc5d86aView commit details -
Rollup merge of rust-lang#131473 - workingjubilee:move-that-abi-up, r…
…=saethlin compiler: `{TyAnd,}Layout` comes home The `Layout` and `TyAndLayout` types are heavily abstract and have no particular target-specific qualities, though we do use them to answer questions particular to targets. We can keep it that way if we simply move them out of `rustc_target` and into `rustc_abi`. They bring a small entourage of connected types with them, but that's fine. This will allow us to strengthen a few abstraction barriers over time and thus make the notoriously gnarly layout code easier to refactor. For now, we don't need to worry about that and deliberately use reexports to minimize this particular diff.
Configuration menu - View commit details
-
Copy full SHA for cb140dc - Browse repository at this point
Copy the full SHA cb140dcView commit details -
Rollup merge of rust-lang#131533 - workingjubilee:update-emscripten-v…
…ersion, r=Kobzol emscripten: Use the latest emsdk 3.1.68 This should fix our precompiled std being unsound in `std::fs` code. Should resolve rust-lang#131467 I hope.
Configuration menu - View commit details
-
Copy full SHA for eb060f6 - Browse repository at this point
Copy the full SHA eb060f6View commit details -
Rollup merge of rust-lang#131593 - RalfJung:alloc-no-clone, r=saethlin
miri: avoid cloning AllocExtra We shouldn't be cloning Miri allocations, so make `AllocExtra::clone` panic instead, and adjust the one case where we *do* clone (the leak check) to avoid cloning. This is in preparation for rust-lang/miri#3966 where I am adding something to `AllocExtra` that cannot (easily) be cloned. r? ``@saethlin``
Configuration menu - View commit details
-
Copy full SHA for 4139018 - Browse repository at this point
Copy the full SHA 4139018View commit details -
Rollup merge of rust-lang#131616 - RalfJung:const_ip, r=tgross35
merge const_ipv4 / const_ipv6 feature gate into 'ip' feature gate rust-lang#76205 has been closed a while ago, but there are still some functions that reference it. Those functions are all unstable *and* const-unstable. There's no good reason to use a separate feature gate for their const-stability, so this PR moves their const-stability under the same gate as their regular stability, and therefore removes the remaining references to rust-lang#76205.
Configuration menu - View commit details
-
Copy full SHA for 5d63a3d - Browse repository at this point
Copy the full SHA 5d63a3dView commit details -
Rollup merge of rust-lang#131660 - Urgau:non_local_def-131643, r=jiey…
…ouxu Also use outermost const-anon for impl items in `non_local_defs` lint This PR update the logic for the impl paths (items) in the `non_local_definitions` lint to also consider const-anon in case the impl definition is wrapped inside const-anon it-self wrapped into a const-anon where the items are. r? `@jieyouxu` *(since you interacted on the issue)* Fixes *(after beta-backport)* rust-lang#131643
Configuration menu - View commit details
-
Copy full SHA for d34b932 - Browse repository at this point
Copy the full SHA d34b932View commit details