Skip to content

Rollup of 7 pull requests - #160823

Closed
jhpratt wants to merge 17 commits into
rust-lang:mainfrom
jhpratt:rollup-UYV9Lg9
Closed

Rollup of 7 pull requests#160823
jhpratt wants to merge 17 commits into
rust-lang:mainfrom
jhpratt:rollup-UYV9Lg9

Conversation

@jhpratt

@jhpratt jhpratt commented Aug 9, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

Zalathar and others added 17 commits August 8, 2026 17:27
When registering selector paths/aliases, steps shouldn't need to know their
kind.
Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as
an alias attached to the real path.

Remapping of "test" is not necessary at all, since `./x test tests` naturally
selects all of the test suites in `tests`.
This fixes RUSTSEC-2026-0233, RUSTSEC-2026-0234 and RUSTSEC-2026-0235.
Many <*const T> methods (read family, copy_to{,_nonoverlapping}, offset_from,
len, as_ptr, get_unchecked), the ptr::{read,write,replace,swap,...} free
functions, and the PartialEq/PartialOrd impls were left as inline while their
<*mut T> equivalents are inline(always). This left them with out-of-line calls
in debug codegen; make them consistent.
…crum

dirfd dir operations (3/4)

Previous PR: rust-lang#150679
Reference: rust-lang#139514
Tracking issue: rust-lang#120426
bootstrap: Remove `PATH_REMAP` from command-line selector handling

Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as an alias attached to the real path.

Remapping of "test" is not necessary at all, since `./x test tests` naturally selects all of the test suites in `tests`.

(This changes the order of steps listed in the relevant snapshot tests, but the set of steps is unchanged.)

---

The removal of `ShouldRun::kind` is not essential to this PR, but I included it because it would have conflicted with changes to ShouldRun's alias-related methods.
…rk-Simulacrum

Add nightly-only support for Cargo unremap trim-paths files in `rust-gdb`

This PR adds support in `rust-gdb` for the un-remapping file produced by Cargo with `-Ztrim-paths` (rust-lang/cargo#17303). This support is nightly-only, and only activated when `RUST_GDB_TRIM_PATHS=unstable` is set.

An example of the unremap file:

```json
{"v":1}
{"rust_version":"1.96.0-nightly","workspace_root":"/home/me/app"}
{"from":"/cargo/build-dir","to":"/home/me/app/target"}
{"from":"/cargo/registry/6f17d22d3f0a95d1","to":"/home/me/.cargo/registry/src/index.crates.io-6f17d22d3f0a95d1"}
{"from":"/rustc/abc123","to":"/home/me/.rustup/toolchains/nightly/lib/rustlib/src/rust"}
```
…et-parser, r=clarfonthey

Change .expect message on net/parser to follow precondition style
…s, r=tgross35

`extern "custom"`: add tests

tracking issue: rust-lang#140829

r? tgross35
…60809, r=nia-e

Mark const ptr methods and free functions as inline(always) to match *mut

Closes rust-lang#160809. The `*const`  read/read_volatile/read_unaligned methods were `#[inline]` while the `*mut` equivalents are `#[inline(always)]` and verified the `*const` forms now inline in debug instead of emitting an out of line call.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Aug 9, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 9, 2026
@jhpratt

jhpratt commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5

@rust-bors

rust-bors Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 0ab89c7 has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 9, 2026
@rust-bors rust-bors Bot mentioned this pull request Aug 10, 2026
2 tasks
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 10, 2026
Rollup of 7 pull requests

Successful merges:

 - #160533 (dirfd dir operations (3/4))
 - #160675 (bootstrap: Remove `PATH_REMAP` from command-line selector handling )
 - #160807 (Update rustc crate rkyv to 0.8.18)
 - #160560 (Add nightly-only support for Cargo unremap trim-paths files in `rust-gdb`)
 - #160804 (Change .expect message on net/parser to follow precondition style)
 - #160805 (`extern "custom"`: add tests)
 - #160816 (Mark const ptr methods and free functions as inline(always) to match *mut)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job aarch64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- fs::tests::test_dir_create_dir stdout ----

thread 'fs::tests::test_dir_create_dir' (11204) panicked at library\std\src\fs\tests.rs:2753:5:
dir.create_dir("foo") failed with: creating or truncating a file requires write or append access
---- fs::tests::test_dir_create_dir stdout end ----
---- fs::tests::test_dir_open_dir stdout ----

thread 'fs::tests::test_dir_open_dir' (8216) panicked at library\std\src\fs\tests.rs:2761:5:
dir1.create_dir("foo") failed with: creating or truncating a file requires write or append access
---- fs::tests::test_dir_open_dir stdout end ----

failures:
    fs::tests::test_dir_create_dir
    fs::tests::test_dir_open_dir

test result: FAILED. 386 passed; 2 failed; 10 ignored; 0 measured; 0 filtered out; finished in 18.23s

error: test failed, to rerun pass `-p std --lib`
Bootstrap failed while executing `test --stage 2 --skip=compiler --skip=src --skip=src/tools/linkchecker`
Currently active steps:
test::Crate { build_compiler: Compiler { stage: 2, host: aarch64-pc-windows-msvc, forced_compiler: false }, target: aarch64-pc-windows-msvc, mode: Std, crates: ["alloc", "alloctests", "compiler_builtins", "core", "coretests", "panic_abort", "panic_unwind", "proc_macro", "rustc-std-workspace-core", "std", "std_detect", "sysroot", "test", "unwind"] } at src\bootstrap\src\core\build_steps\test.rs:3378
Build completed unsuccessfully in 1:31:30
make: *** [Makefile:115: ci-msvc-py] Error 1
  local time: Mon Aug 10 03:17:26 CUT 2026
  network time: Mon, 10 Aug 2026 03:17:26 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 10, 2026
@rust-bors

rust-bors Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for ae22f5b failed: CI. Failed job:

@jhpratt jhpratt closed this Aug 10, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 10, 2026
@rust-bors

rust-bors Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

PR #160533, which is a member of this rollup, was unapproved.

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 10, 2026
@jhpratt
jhpratt deleted the rollup-UYV9Lg9 branch August 10, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants