]> git.proxmox.com Git - rustc.git/blame - src/test/incremental/change_crate_dep_kind.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / incremental / change_crate_dep_kind.rs
CommitLineData
ff7c6d11
XL
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.
8bb4bdeb 3
e74abb32 4// ignore-wasm32-bare compiled with panic=abort by default
ff7c6d11
XL
5// revisions:cfail1 cfail2
6// compile-flags: -Z query-dep-graph -Cpanic=unwind
416331ca 7// build-pass (FIXME(62277): could be check-pass?)
7cac9316 8
ff7c6d11 9#![feature(panic_unwind)]
7cac9316 10
ff7c6d11
XL
11// Turn the panic_unwind crate from an explicit into an implicit query:
12#[cfg(cfail1)]
13extern crate panic_unwind;
7cac9316
XL
14
15fn main() {}