about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-24 13:23:51 +0000
committerbors <bors@rust-lang.org>2024-06-24 13:23:51 +0000
commit863179081ee12284349b6356e7bb444bcfde2846 (patch)
tree77f61db4fbecce0c0f09c60a7902084389b1c3aa /compiler/rustc_codegen_llvm/src
parent32374a196dad3965342e29ca69a59e03efed6271 (diff)
parent2194304b057cc0ae66a9b225565e4cb9844d6269 (diff)
downloadrust-863179081ee12284349b6356e7bb444bcfde2846.tar.gz
rust-863179081ee12284349b6356e7bb444bcfde2846.zip
Auto merge of #12986 - Alexendoo:cache-lintcheck-bin, r=flip1995
Cache lintcheck binary in ci

Always trims ~40s off the `diff` job as it no longer needs to install the rust toolchain or compile lintcheck. Saves a further ~20s for the `base`/`head` jobs when the cache is warm

It now uses artifacts for restoring the JSON between jobs as per https://github.com/rust-lang/rust-clippy/pull/10398#discussion_r1642364392, cc `@flip1995`

The lintcheck changes are to make `./target/debug/lintcheck` work, running `cargo-clippy`/`clippy-driver` directly doesn't work without `LD_LIBRARY_PATH`/etc being set which is currently being done by `cargo run`. By merging the `--recursive` and normal cases to both go via regular `cargo check` we can have Cargo set up the environment for us

r? `@xFrednet`

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions