Skip to content

Commit e04099e

Browse files
committed
tests: cover issue #7488
1 parent 1e57d7a commit e04099e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testsuite/check.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ fn rustc_check() {
335335
.build();
336336

337337
foo.cargo("rustc --profile check -- --emit=metadata").run();
338+
339+
// Verify compatible usage of --profile with --release, issue #7488
340+
foo.cargo("rustc --profile check --release -- --emit=metadata").run();
341+
foo.cargo("rustc --profile test --release -- --emit=metadata").run();
338342
}
339343

340344
#[cargo_test]

0 commit comments

Comments
 (0)