Rollup of 10 pull requests#155494
Conversation
This commit updates the crate dependency that the standard library has on the `wasi` crate. This is now updated to depending explicitly on the `wasip1` crate and the `wasip2` crate published on crates.io. These crates are managed in the [same location][repo] as the `wasi` crate and represent a different versioning scheme which doesn't require multi-version WASI support to require depending on the same crate at multiple versions. The code in libstd is updated to reference `wasip1` and `wasip2` directly as well. [repo]: https://github.com/bytecodealliance/wasi-rs
This variant was never constructed anywhere.
…ext_chunk, r=Mark-Simulacrum spec next chunk for trustedlen relevant to rust-lang#98326
…imulacrum net::tcp/udp: fix docs about how set_nonblocking is implemented `fcntl` `FIONBIO` doesn't even make sense, it should be `fcntl` `F_SETFL`. However, for some reason we are using `ioctl` by default -- except on Solaris where this doesn't seem to work very well. Honestly what I would have expected is that we just always use `FileDesc::set_nonblocking` also for network sockets, but for some reason we don't and there are no comments explaining this choice. Cc @nikarh (for "vita") @joboet
…lacrum fix: add aliasing rules for Box This is a new revised version for the PR [139857](rust-lang#139857), sorry for the delayed reply. I've rewritten the sentence to closely mirror the wording from `Vec::from_raw_parts`, which clearly states the transfer of ownership and its consequences. This should make the aliasing requirements much clearer. I opted not to include a note about `mem::forget` by default to keep the documentation focused on the primary contract, similar to `Vec`.
…-Simulacrum Make std::fs::File Send on UEFI Similarly to rust-lang#150990 since UEFI has no threads, this should be safe.
…ng, r=Mark-Simulacrum std: fix HashMap RNG docs wording Fixes a wording typo in the top-level HashMap docs. Changed "random number coroutine" to "random number generator" in the seed entropy paragraph. This section is security-relevant, and "generator" is the correct term in RNG context. Testing: - Not run locally (docs-only text change).
Document why `layout.align() + layout.size()` doesn't overflow This addition looks suspicious and is safety critical, but is saved by the weird `Layout` invariants.
…01, r=Kivooeo Reorganize tests from `tests/ui/issues/` The following tests are reorganized in this pull request | old-name | new-sub-dir | new-name | |-|-|-| | `auxiliary/issue-2316-a.rs` | `resolve/auxiliary` | `resolve-conflict-local-vs-glob-import-a.rs` | | `auxiliary/issue-2316-b.rs` | `resolve/auxiliary` | `resolve-conflict-local-vs-glob-import-b.rs` | | `issue-2316-c.rs` | `resolve/` | `resolve-conflict-local-vs-glob-import.rs` | | `issue-28839.rs` | `reborrow/` | `reborrow-mutable-reference.rs` | | `issue-32008.rs` | `overloaded/` | `subtyping-both-lhs-and-rhs-in-add-impl.rs` | | `issue-45425.rs` | `higher-ranked/` | `binop-lhs-hrtb-subtyping.rs` | r? Kivooeo
…ark-Simulacrum std: Update dependency on `wasi` crate This commit updates the crate dependency that the standard library has on the `wasi` crate. This is now updated to depending explicitly on the `wasip1` crate and the `wasip2` crate published on crates.io. These crates are managed in the [same location][repo] as the `wasi` crate and represent a different versioning scheme which doesn't require multi-version WASI support to require depending on the same crate at multiple versions. The code in libstd is updated to reference `wasip1` and `wasip2` directly as well. [repo]: https://github.com/bytecodealliance/wasi-rs
…ited, r=mejrs Simplify `parse_limited` Removes unnecessary arguments from `parse_limited` and cleans up feature gating of `on_unknown_attr`
…neric, r=scottmcm Delete `SizeSkeleton::Generic` This variant was never constructed anywhere. r? @scottmcm
This comment has been minimized.
This comment has been minimized.
Rollup of 10 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: b2f1ccf524 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing b2f1ccf (parent) -> 0febdba (this PR) Test differencesShow 227 test diffsStage 1
Stage 2
Additionally, 211 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 0febdbab2720dc0360cd294c67db88d6d06580d4 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (0febdba): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 5.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 492.524s -> 493.472s (0.19%) |
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
Successful merges:
layout.align() + layout.size()doesn't overflow #155255 (Document whylayout.align() + layout.size()doesn't overflow)tests/ui/issues/#155351 (Reorganize tests fromtests/ui/issues/)wasicrate #155406 (std: Update dependency onwasicrate)parse_limited#155447 (Simplifyparse_limited)SizeSkeleton::Generic#155481 (DeleteSizeSkeleton::Generic)r? @ghost
Create a similar rollup