]> git.lizzy.rs Git - rust.git/blob - tests/incremental/change_crate_dep_kind.rs
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / incremental / change_crate_dep_kind.rs
1 // Test that we detect changes to the `dep_kind` query. If the change is not
2 // detected then -Zincremental-verify-ich will trigger an assertion.
3
4 // ignore-wasm32-bare compiled with panic=abort by default
5 // revisions:cfail1 cfail2
6 // compile-flags: -Z query-dep-graph -Cpanic=unwind
7 // build-pass (FIXME(62277): could be check-pass?)
8
9 #![feature(panic_unwind)]
10
11 // Turn the panic_unwind crate from an explicit into an implicit query:
12 #[cfg(cfail1)]
13 extern crate panic_unwind;
14
15 fn main() {}