Skip to content

Commit 0bbabec

Browse files
committed
Fix a rustflags test using a wrong buildfile name
The test seem to have always had the wrong buildfile `build.rs.rs`. Signed-off-by: Mohammad AlSaleh <[email protected]>
1 parent 80326ca commit 0bbabec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/rustflags.rs

+1-1
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)