Skip to content

Commit

Permalink
tests: cover issue rust-lang#7488
Browse files Browse the repository at this point in the history
  • Loading branch information
da-x committed Oct 8, 2019
1 parent 1e57d7a commit e04099e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ fn rustc_check() {
.build();

foo.cargo("rustc --profile check -- --emit=metadata").run();

// Verify compatible usage of --profile with --release, issue #7488
foo.cargo("rustc --profile check --release -- --emit=metadata").run();
foo.cargo("rustc --profile test --release -- --emit=metadata").run();
}

#[cargo_test]
Expand Down

0 comments on commit e04099e

Please sign in to comment.