Skip to content

Commit 6c3f403

Browse files
committed
Auto merge of #12987 - MoSal:fix_rustflags_test, r=epage
Fix a rustflags test using a wrong buildfile name The test seem to have always had the wrong buildfile `build.rs.rs`.
2 parents 80326ca + 0bbabec commit 6c3f403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/rustflags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ fn host_config_rustflags_with_target() {
16581658
// regression test for https://github.com/rust-lang/cargo/issues/10206
16591659
let p = project()
16601660
.file("src/lib.rs", "")
1661-
.file("build.rs.rs", "fn main() { assert!(cfg!(foo)); }")
1661+
.file("build.rs", "fn main() { assert!(cfg!(foo)); }")
16621662
.file(".cargo/config.toml", "target-applies-to-host = false")
16631663
.build();
16641664

0 commit comments

Comments
 (0)