1515 CARGO_NET_RETRY : 10
1616 CI : 1
1717 RUST_BACKTRACE : short
18- RUSTFLAGS : " -D warnings"
1918 RUSTUP_MAX_RETRIES : 10
2019
2120jobs :
4544 if : github.repository == 'rust-lang/rust-analyzer' && needs.changes.outputs.proc_macros == 'true'
4645 name : proc-macro-srv
4746 runs-on : ubuntu-latest
47+ env :
48+ RUSTFLAGS : " -D warnings"
49+
4850 steps :
4951 - name : Checkout repository
5052 uses : actions/checkout@v4
7375 name : Rust
7476 runs-on : ${{ matrix.os }}
7577 env :
78+ RUSTFLAGS : " -D warnings"
7679 CC : deny_c
7780
7881 strategy :
@@ -168,7 +171,7 @@ jobs:
168171 - name : Cache Dependencies
169172 uses : Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
170173
171- - run : cargo +nightly miri test --locked
174+ - run : cargo +nightly miri test -p intern - -locked
172175
173176 # Weird targets to catch non-portable code
174177 rust-cross :
@@ -181,6 +184,7 @@ jobs:
181184 # The rust-analyzer binary is not expected to compile on WASM, but the IDE
182185 # crate should
183186 targets_ide : " wasm32-unknown-unknown"
187+ RUSTFLAGS : " -D warnings"
184188
185189 steps :
186190 - name : Checkout repository
@@ -283,7 +287,7 @@ jobs:
283287 run : typos
284288
285289 conclusion :
286- needs : [rust, rust-cross, typescript, typo-check, proc-macro-srv]
290+ needs : [rust, rust-cross, typescript, typo-check, proc-macro-srv, miri ]
287291 # We need to ensure this job does *not* get skipped if its dependencies fail,
288292 # because a skipped job is considered a success by GitHub. So we have to
289293 # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
0 commit comments