diff options
| author | Chase Douglas <chase@stackery.io> | 2024-02-20 16:42:20 -0800 |
|---|---|---|
| committer | Chase Douglas <chase@stackery.io> | 2024-02-20 16:42:20 -0800 |
| commit | 344a79c17dd321279897cc287313ff38e0fe255e (patch) | |
| tree | 308cf3afa0ec81a43e77165dc4ead84bb0f8553d /compiler/rustc_codegen_llvm/src | |
| parent | 543d7e98dbcc0668528dbf3f5b32d752882baa33 (diff) | |
| download | rust-344a79c17dd321279897cc287313ff38e0fe255e.tar.gz rust-344a79c17dd321279897cc287313ff38e0fe255e.zip | |
Drop RUSTC_BOOTSTRAP env var when building build scripts
Some packages (e.g. thiserror) force a recompile if the value of the `RUSTC_BOOTSTRAP` env var changes. RA sets the variable to 1 in order to enable rustc / cargo unstable options it uses. This causes flapping recompiles when building outside of RA. As of Cargo 1.75 the `--keep-going` flag is stable. This change uses the flag without `RUSTC_BOOTSTRAP` if the Cargo version is >= 1.75, and drops `--keep-going` otherwise. This fixes build script recompilation.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
