rust-analyzer/crates/project-model/src
Chase Douglas 344a79c17d 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.
2024-02-20 16:42:20 -08:00
..
build_scripts.rs Drop RUSTC_BOOTSTRAP env var when building build scripts 2024-02-20 16:42:20 -08:00
cargo_workspace.rs Auto merge of #16247 - Veykril:opqueues, r=Veykril 2024-02-14 14:33:16 +00:00
cfg_flag.rs project-model: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
lib.rs project-model: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
manifest_path.rs explicit_auto_deref 2024-01-19 17:31:01 +01:00
project_json.rs CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
rustc_cfg.rs fix: Set RUSTUP_TOOLCHAIN and invoke the proxies instead of directly invoking sysroot binaries 2024-02-14 15:13:45 +01:00
sysroot.rs fix: Set RUSTUP_TOOLCHAIN and invoke the proxies instead of directly invoking sysroot binaries 2024-02-14 15:13:45 +01:00
target_data_layout.rs fix: Set RUSTUP_TOOLCHAIN and invoke the proxies instead of directly invoking sysroot binaries 2024-02-14 15:13:45 +01:00
tests.rs Move dedup-dev-deps tests into rust-analyzer crate 2024-02-16 15:47:40 +01:00
workspace.rs internal: Fetch toolchain and datalayout for DetachedFiles 2024-02-20 10:40:39 +01:00