Skip to content

Commit

Permalink
Rollup merge of rust-lang#118877 - Enselic:remove-cgu-fixme, r=Nilstrieb
Browse files Browse the repository at this point in the history
tests: CGU tests require build-pass, not check-pass (remove FIXME)

CGU tests require CGU code to be exercised. We can't merely do "cargo check" on these tests.

Part of rust-lang#62277
  • Loading branch information
matthiaskrgr authored Dec 12, 2023
2 parents d661974 + 41c9404 commit 010f301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/incremental/thinlto/cgu_invalidated_via_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type="rlib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/incremental/thinlto/cgu_keeps_identical_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type = "rlib"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type="rlib"]
Expand Down

0 comments on commit 010f301

Please sign in to comment.