Skip to content

Rollup of 23 pull requests - #162216

Closed
GuillaumeGomez wants to merge 62 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-DiIoVVC
Closed

Rollup of 23 pull requests#162216
GuillaumeGomez wants to merge 62 commits into
rust-lang:mainfrom
GuillaumeGomez:rollup-DiIoVVC

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

chenyukang and others added 30 commits August 27, 2026 12:25
Previously, these tests were testing the wrong feature gate,
and had unnecessary type errors.
This is done so that we can test whether the location used is at
the function call site or the await site.
Co-authored-by: Ralf Jung <post@ralfj.de>
- Rename `generate_*` functions to `emit_*`, since they emit LLVM globals
- Consistently use qualified paths in `counter_for_term`
- Remove an unnecessary Clone from `llvm_cov::Regions`
One of the key tasks in coverage codegen is to take the source-code spans that
were recorded during MIR instrumentation, and resolve them to physical
coordinates in their respective files.

In rare cases this resolution can fail, which leads to the awkward possibility
that a function might lose _all_ of its mappings for a particular
file/expansion. If that happens, we need to avoid emitting a covfun file
section containing no regions, because doing so would trigger errors in LLVM.

The existing code does handle this edge case, but in a way that won't
generalise to multiple files/expansions. Having an explicit intermediate
resolution step will make it easier to add support for expansion regions in the
future.
`suggest_fn_call` only fired when the failing obligation came from
`ObligationCauseCode::FunctionArg`, so a fn item or closure used as the
iterator of a `for` loop got no structured suggestion to call it.

the iterator of a `for` loop is passed to `IntoIterator::into_iter`, so the
failing `Iterator` goal is a derived obligation and the cause span carries the
loop desugaring, which makes `can_be_used_for_suggestions` return false. carry
the `HirId` of the iterator expression in `ObligationCauseCode::ForLoopIterator`
and gate the suggestion on the span of that expression instead.

rust-lang#161564
dereferencing an uncalled function only said the function type cannot be
dereferenced. it now suggests the call, gated on the return type actually
being dereferenceable.

rust-lang#161564 (comment)
…low`

VxWorks' libc defines no `O_NOFOLLOW`, so building std for
x86_64-wrs-vxworks stopped compiling once `set_perm_nofollow` was
consolidated into `sys/fs/unix.rs` without a vxworks guard. VxWorks also
has no way to express a no-follow permission change: its `fchmodat`
rejects `AT_SYMLINK_NOFOLLOW` with `ENOTSUP`. Return `Unsupported`,
matching the existing Android stub.
Make it also enabled by default just like it is for clang.
Our `LLVMRustVersion*` functions get hard-coded `LLVM_VERSION_*` values
when we build `RustWrapper.cpp`, but this could be different than the
actual LLVM library at runtime. This should never happen with toolchains
from `rustup`, but with external LLVM in a distro build, for example,
`rustc` and `LLVM` can be upgraded independently.

Most of the time when we check the LLVM version, we're only looking at
the major version anyway, and we already assert that these are equal in
`configure_llvm`. However, for anything that does check the minor or
patch version too, the runtime version is probably more relevant.
`LoweringContext` has 14 fields that get swapped in and out in
`with_hir_id_owner`. This is fragile and gross. This commit moves those
fields into a new struct, `PerOwnerLoweringState`, which means they can
be swapped in and out cleanly.

Other changes:
- All `self.foo` accesses to those 14 fields become `self.curr_owner.foo`.
- Field renames:
  - `current_hir_id_owner` -> `owner_id`
  - `current_disambiguator` -> `disambiguator`
- `LoweringContext::make_owner_info` becomes
  `PerOwnerLoweringState::into_owner_info`; this makes sense because
  it consumes the `PerOwnerLoweringState`.
- Stronger assertions: `into_owner_info` has assertions that now apply
  to the `with_lctx` path as well as the `with_hir_id_owner` path.
because "g" is used for __ibm128, __float128 gets a custom name
Co-authored-by: mejrs <59372212+mejrs@users.noreply.github.com>
The psABI leaves the upper bits of a widened f16 value undefined, so
the NaN-boxing here isn't ABI-required. It's intentional: it matches
LLVM's own codegen and avoids an f16 value being mistaken for a valid
f32 value. Update the comment to reflect this.
core: mark float `ClampBounds` methods as `#[inline]`

Commit bd174e1 ("Implement clamp_to") added a few float methods that are not marked `#[inline]`. This causes `core` to require new symbols in soft-float builds, even if the methods are unused, e.g. from the Linux kernel:

    ld.lld: error: undefined symbol: fmaximum_numf
    >>> referenced by core.1f440ee8661e09f9-cgu.0
    >>>               rust/core.o:(<core::ops::range::RangeFrom<f32> as core::cmp::clamp::ClampBounds<f32>>::clamp) in archive vmlinux.a

(and similar for `f{min,max}imum_num{f,}` and `__gt{s,d}f2`).

It is possible to work around this in the Linux side, but these methods should probably be `#[inline]` to begin with, like many other similar methods are.

Thus mark them as inline.
…conds, r=jhpratt

docs(time): clarify exact seconds for hour and minute

Documented that `Duration::from_hours` defines one hour as 3,600 seconds (60 minutes), and `Duration::from_mins` defines one minute as 60 seconds.

Doctests for these methods also appear to be based on these definitions.

The purpose of this is to clarify that `Duration` is a fixed length value that ignores factors such as a leap second.

This is inspired by <rust-lang/libs-team#869 (comment)>.

It seems that no library in Rust handle leap seconds, so there isn't much point in documenting this. However, I don't think it would hurt to include it for the sake of consistency with rust-lang#162195.

See also rust-lang#120301

@rustbot label +A-docs
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Sep 2, 2026
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc PG-exploit-mitigations Project group: Exploit mitigations 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Sep 2, 2026
@GuillaumeGomez

Copy link
Copy Markdown
Member Author

@bors r+ p=5

@rust-bors

rust-bors Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

📌 Commit a493dde has been approved by GuillaumeGomez

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 Sep 2, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 3, 2026
Rollup of 23 pull requests

Successful merges:

 - #157808 (sanitizers: Implement support for the sanitize ignorelist)
 - #160564 (volatile: allow accesses to non-AM memory to trap)
 - #161579 (suggest calling a fn item used as the iterator of a `for` loop)
 - #162044 (coverage: Resolve spans to file-coordinates in a separate step)
 - #162120 (Introduce `PerOwnerLoweringState`)
 - #162151 (Test itanium mangling of `f16` and `f128`)
 - #162162 (Don't special-case `!` in stability checks anymore)
 - #162181 (Remove wrong UnusedBraces lint for iterator loop in edition 2024 )
 - #162187 (Rename `thir::ExprKind::Use` to `ValueExpr`)
 - #158401 (mgca: Don't ICE when evaluating ValTrees that contain error constants)
 - #159873 (fuchsia: Add safestack as a supported sanitizer for x86_64 fuchsia)
 - #161847 (Preserve visibility in nested macro import suggestions)
 - #161972 (Improve tests for `#[track_caller]` in async)
 - #162008 (Render the `box` pattern removal diagnostic more actionable & remove `box` expression recovery)
 - #162065 (std: don't reference `libc::O_NOFOLLOW` on VxWorks in `set_perm_nofollow`)
 - #162076 (docs(num): clarify conditions under which error occurs in `impl TryFrom<int> for int`)
 - #162152 (Revert "retrieve supported GCC targets from the sysroot")
 - #162153 (Prefer `LLVMGetVersion` for runtime info)
 - #162168 (fix ICE in project_goals/inherent)
 - #162171 (Explain LoongArch f16 NaN-boxing in inline asm)
 - #162173 (fix supposedly unreachable `bug!` being reachable)
 - #162191 (core: mark float `ClampBounds` methods as `#[inline]`)
 - #162199 (docs(time): clarify exact seconds for hour and minute)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-various failed! Check out the build log: (web) (plain enhanced) (plain)

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

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/cfi-ignorelist.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/cfi-ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/cfi-ignorelist/cfi-ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=cfi" "-Clto" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/cfi-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/cfi-ignorelist.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/global-ignorelist.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/global-ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/global-ignorelist/global-ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/global-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/global-ignorelist.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#ASAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `ASAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "asan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/ignorelist.ASAN/ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=address"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#ASAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#MSAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `MSAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "msan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/ignorelist.MSAN/ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=memory"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#MSAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#TSAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `TSAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "tsan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/ignorelist.TSAN/ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/ignorelist.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=thread"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/ignorelist.rs#TSAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/kernel-address-ignorelist.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/kernel-address-ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/kernel-address-ignorelist/kernel-address-ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/kernel-address-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/kernel-address-ignorelist.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/mainfile-ignore.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/mainfile-ignore.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/mainfile-ignore/mainfile-ignore.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/mainfile-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/mainfile-ignore.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/override-ignorelist.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/override-ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/override-ignorelist/override-ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/override-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/override-ignorelist.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#ASAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `ASAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "asan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.ASAN/src-ignore-memory.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=address"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#ASAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#MSAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `MSAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "msan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.MSAN/src-ignore-memory.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=memory"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#MSAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#TSAN stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error in revision `TSAN`: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--cfg" "tsan" "--check-cfg" "cfg(test,FALSE,asan,msan,tsan,hwasan)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.TSAN/src-ignore-memory.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.txt" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer=thread"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore-memory.rs#TSAN stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/src-ignore/src-ignore.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=cfi" "-Clto" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/src-ignore.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/src-ignore.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist-asan.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist-asan.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/type-ignorelist-asan/type-ignorelist-asan.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist-asan.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist-asan.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/type-ignorelist/type-ignorelist.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=cfi" "-Clto" "-Cunsafe-allow-abi-mismatch=sanitizer" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-ignorelist.rs stdout end ----
---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-string-unsafe.rs stdout ----
------rustc stdout------------------------------

------rustc stderr------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error


------------------------------------------

error: compilation failed!
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-string-unsafe.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-musl" "--check-cfg" "cfg(test,FALSE)" "-O" "-Cdebug-assertions=no" "-Zcodegen-source-order" "--emit" "llvm-ir" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-llvm/sanitizer/ignorelist/type-string-unsafe/type-string-unsafe.ll" "-Znext-solver=coherence" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Clinker=x86_64-linux-musl-gcc" "-Zsanitizer=address" "-Zsanitizer-ignorelist=/checkout/tests/codegen-llvm/sanitizer/ignorelist/type-string-unsafe-ignorelist.txt"
stdout: none
--- stderr -------------------------------
error: sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`

error: aborting due to 1 previous error
------------------------------------------

---- [codegen] tests/codegen-llvm/sanitizer/ignorelist/type-string-unsafe.rs stdout end ----

@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 Sep 3, 2026
@rust-bors

rust-bors Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 6a20191 failed: CI. Failed job:

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 3, 2026
@rust-bors

rust-bors Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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

@Zalathar Zalathar closed this Sep 3, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Sep 3, 2026
@GuillaumeGomez
GuillaumeGomez deleted the rollup-DiIoVVC branch September 3, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletest Area: The compiletest test runner A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.