mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Check that we use no C deps on CI
C deps are not a problem for a typical build, but cause issues in more esoteric scenarios, like cross-compiling. Let's check that we don't have them. Setting `CC` to some dummy value should do the trick, as custom build scripts typically respect this variable.
This commit is contained in:
parent
e00b9ca3c9
commit
5e1d0e4ae4
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
|
@ -17,6 +17,7 @@ jobs:
|
|||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
CC: deny_c
|
||||
CARGO_INCREMENTAL: 0
|
||||
RUN_SLOW_TESTS: 1
|
||||
RUSTUP_MAX_RETRIES: 10
|
||||
|
|
Loading…
Reference in a new issue