about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-13 17:46:13 -0800
committerGitHub <noreply@github.com>2025-02-13 17:46:13 -0800
commit6eb39294d1eac1178a66c129c55e7ff908ff72c9 (patch)
treef1e47d108d2b7e8f8f40f77cf180d65279ba6edb /compiler/rustc_mir_transform/src
parent0e56579209d7b0cb121b8da2e50abd310070f95f (diff)
parentf7a03d075fa203eceaee81d730a78913c9ece2d4 (diff)
downloadrust-6eb39294d1eac1178a66c129c55e7ff908ff72c9.tar.gz
rust-6eb39294d1eac1178a66c129c55e7ff908ff72c9.zip
Rollup merge of #136973 - jyn514:fulldeps-stage1, r=jieyouxu
Fix `x test --stage 1 ui-fulldeps` on macOS (until the next beta bump)

"stage 1" for fulldeps means "compile with stage 0, link against stage 1". But this code wanted to switch on the compiler that's building, not the compiler that's being tested. Fix the check.

Previously, it would fail with a warning about linker-messages:
```
--- stderr -------------------------------
warning[E0602]: unknown lint: `linker_messages`
   |
   = note: requested on the command line with `-A linker_messages`
   = note: `#[warn(unknown_lints)]` on by default
```

cc https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/unknown.20lint.3A.20.60linker_messages.60.20when.20blessing.20tests.20on.20.2E.2E.2E, https://github.com/rust-lang/rust/pull/136960
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions