diff options
| author | bors <bors@rust-lang.org> | 2022-08-13 14:12:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-13 14:12:38 +0000 |
| commit | 5941dec0c1efecfcad27416f8fd9538a95b40e46 (patch) | |
| tree | 06bbcdbe152d9c1a2187af9e1e9be3f6d3155e68 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | f982c7616196b433bd65a1df1d07ee0d249701c0 (diff) | |
| parent | 72ae308c73a2d9d71715ec35ba1f644989338761 (diff) | |
| download | rust-5941dec0c1efecfcad27416f8fd9538a95b40e46.tar.gz rust-5941dec0c1efecfcad27416f8fd9538a95b40e46.zip | |
Auto merge of #13010 - Veykril:build-script-probes, r=Veykril
Do not unconditionally succeed RUSTC_WRAPPER checks when run by build scripts rust-analyzer's RUSTC_WRAPPER unconditionally succeeds `cargo check` invocations tripping up build scripts using `cargo check` to probe for successful compilations. To prevent this from happening the RUSTC_WRAPPER now checks if it's run from a build script by looking for the `CARGO_CFG_TARGET_ARCH` env var that cargo sets only when running build scripts.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
