diff options
| author | bors <bors@rust-lang.org> | 2023-01-12 17:36:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-12 17:36:00 +0000 |
| commit | f9ca9d4112f021fd73258e13ec9e353738ba0482 (patch) | |
| tree | 1aa029d8f2d3f6bac6524de25f77c1f877f4e5b9 /compiler/rustc_codegen_llvm/src | |
| parent | decaba97cc0e682a7b44b3f06f10ad1a8ebe9cba (diff) | |
| parent | fe007179ec3560f86bd15686d60372f8307ca225 (diff) | |
| download | rust-f9ca9d4112f021fd73258e13ec9e353738ba0482.tar.gz rust-f9ca9d4112f021fd73258e13ec9e353738ba0482.zip | |
Auto merge of #10149 - jyn514:duplicate-sysroot, r=flip1995
Don't pass `--sysroot` twice if SYSROOT is set This is useful for rust-lang/rust to allow setting a sysroot that's *only* for build scripts, different from the regular sysroot passed in RUSTFLAGS (since cargo doesn't apply RUSTFLAGS to build scripts or proc-macros). That said, the exact motivation is not particularly important: this fixes a regression from https://github.com/rust-lang/rust-clippy/pull/9881/commits/5907e9155ed7f1312d108aa2110853472da3b029#r1060215684. Note that only RUSTFLAGS is tested in the new integration test; passing --sysroot through `clippy-driver` never worked as far as I can tell, and no one is using it, so I didn't fix it here. Helps with https://github.com/rust-lang/rust/pull/106394. --- changelog: other: `SYSROOT` and `--sysroot` can now be set at the same time [#10149](https://github.com/rust-lang/rust-clippy/pull/10149) <!-- changelog_checked -->
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
