diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-02-13 17:46:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 17:46:12 -0800 |
| commit | bde20913c2563ac1ee8b2bba48581ea4b6566e69 (patch) | |
| tree | e0743d17dfe28ec47514cb191c5f5d54ae5b1061 /compiler/rustc_mir_transform/src/errors.rs | |
| parent | d82ec9508364f2041d039368c03b800745166dc8 (diff) | |
| parent | 66ebee4dd2f55dadca0eaad72139eb3c5ea4c6ea (diff) | |
| download | rust-bde20913c2563ac1ee8b2bba48581ea4b6566e69.tar.gz rust-bde20913c2563ac1ee8b2bba48581ea4b6566e69.zip | |
Rollup merge of #136960 - jyn514:compiletest-args, r=jieyouxu
Compiletest should not inherit all host RUSTFLAGS I told ``@rhelmot`` to do this in #134913. But it's not correct; compiletest shouldn't inherit RUSTFLAGS at all. Pass a single new --host-rustcflags to compiletest instead, without overwriting any existing arguments. Fixes the following failure, which only happens when building llvm from source and then running `x test --stage 1 ui-fulldeps`: ``` diff --git a/tests/ui-fulldeps/fluent-messages/test.stderr b/tests/ui-fulldeps/fluent-messages/test.stderr index 0b3bb14ce51..978ac46c5a2 100644 --- a/tests/ui-fulldeps/fluent-messages/test.stderr +++ b/tests/ui-fulldeps/fluent-messages/test.stderr ``@@`` -1,3 +1,8 ``@@`` +warning[E0602]: unknown lint: `linker_messages` + | + = note: requested on the command line with `-A linker_messages` + = note: `#[warn(unknown_lints)]` on by default ``` See https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20unknown.20lint.3A.20.60linker_messages.60.20when.20blessing.20tests.20on.20.2E.2E.2E for more context.
Diffstat (limited to 'compiler/rustc_mir_transform/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
