Skip to content

Commit

Permalink
Auto merge of #5537 - eddyb:no-trans, r=matklad
Browse files Browse the repository at this point in the history
Remove -Zno-trans test.

Needed for rust-lang/rust#50615 (where the flag is now `-Zno-codegen`) - which revealed that the test shouldn't even exist anymore, and was accidentally added back (rust-lang/rust#50615 (comment)).
  • Loading branch information
bors committed May 15, 2018
2 parents d601e9d + 62faec8 commit cafc37f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tests/testsuite/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3760,31 +3760,6 @@ fn custom_target_dir_line_parameter() {
);
}

#[test]
fn rustc_no_trans() {
if !is_nightly() {
return;
}

let p = project("foo")
.file(
"Cargo.toml",
r#"
[package]
name = "foo"
version = "0.0.1"
authors = []
"#,
)
.file("src/main.rs", "fn main() {}")
.build();

assert_that(
p.cargo("rustc").arg("-v").arg("--").arg("-Zno-trans"),
execs().with_status(0),
);
}

#[test]
fn build_multiple_packages() {
let p = project("foo")
Expand Down

0 comments on commit cafc37f

Please sign in to comment.