Skip to content

Commit

Permalink
Auto merge of #12987 - MoSal:fix_rustflags_test, r=epage
Browse files Browse the repository at this point in the history
Fix a rustflags test using a wrong buildfile name

 The test seem to have always had the wrong buildfile `build.rs.rs`.
  • Loading branch information
bors committed Nov 16, 2023
2 parents 80326ca + 0bbabec commit 6c3f403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/rustflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ fn host_config_rustflags_with_target() {
// regression test for https://github.com/rust-lang/cargo/issues/10206
let p = project()
.file("src/lib.rs", "")
.file("build.rs.rs", "fn main() { assert!(cfg!(foo)); }")
.file("build.rs", "fn main() { assert!(cfg!(foo)); }")
.file(".cargo/config.toml", "target-applies-to-host = false")
.build();

Expand Down

0 comments on commit 6c3f403

Please sign in to comment.