72ae308c73
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. |
||
---|---|---|
.. | ||
bin | ||
cli | ||
config | ||
diagnostics | ||
caps.rs | ||
cargo_target_spec.rs | ||
cli.rs | ||
config.rs | ||
diagnostics.rs | ||
diff.rs | ||
dispatch.rs | ||
from_proto.rs | ||
global_state.rs | ||
handlers.rs | ||
integrated_benchmarks.rs | ||
lib.rs | ||
line_index.rs | ||
lsp_ext.rs | ||
lsp_utils.rs | ||
main_loop.rs | ||
markdown.rs | ||
mem_docs.rs | ||
op_queue.rs | ||
reload.rs | ||
semantic_tokens.rs | ||
task_pool.rs | ||
to_proto.rs | ||
version.rs |