diff options
| author | pierwill <pierwill@users.noreply.github.com> | 2021-10-31 17:05:48 -0500 |
|---|---|---|
| committer | pierwill <pierwill@users.noreply.github.com> | 2021-11-12 13:41:46 -0600 |
| commit | 1642fdfea0ba60f4e142e5d767491ab7686cd13b (patch) | |
| tree | e6af7668ee5150dcbbd05cbc4f510af1c4dac02f /src/test/incremental | |
| parent | 220ed09b26177ca4b6ab525f403d251024389a41 (diff) | |
| download | rust-1642fdfea0ba60f4e142e5d767491ab7686cd13b.tar.gz rust-1642fdfea0ba60f4e142e5d767491ab7686cd13b.zip | |
Add `-Zassert-incr-state` to assert state of incremental cache
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/link_order/auxiliary/my_lib.rs | 4 | ||||
| -rw-r--r-- | src/test/incremental/struct_change_field_name.rs | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/test/incremental/link_order/auxiliary/my_lib.rs b/src/test/incremental/link_order/auxiliary/my_lib.rs index 57cde5f7c6e..1e7d823050c 100644 --- a/src/test/incremental/link_order/auxiliary/my_lib.rs +++ b/src/test/incremental/link_order/auxiliary/my_lib.rs @@ -1,3 +1,3 @@ // no-prefer-dynamic -//[cfail1] compile-flags: -lbar -lfoo --crate-type lib -//[cfail2] compile-flags: -lfoo -lbar --crate-type lib +//[cfail1] compile-flags: -lbar -lfoo --crate-type lib -Zassert-incr-state=not-loaded +//[cfail2] compile-flags: -lfoo -lbar --crate-type lib -Zassert-incr-state=not-loaded diff --git a/src/test/incremental/struct_change_field_name.rs b/src/test/incremental/struct_change_field_name.rs index 7498d0305e0..a7c79e9d751 100644 --- a/src/test/incremental/struct_change_field_name.rs +++ b/src/test/incremental/struct_change_field_name.rs @@ -3,6 +3,7 @@ // revisions:rpass1 cfail2 // compile-flags: -Z query-dep-graph +// [cfail2] compile-flags: -Z query-dep-graph -Z assert-incr-state=loaded #![feature(rustc_attrs)] |
