From 0bbabecbf3e6e6f132108ac8df65df9f4b709f4b Mon Sep 17 00:00:00 2001 From: Mohammad AlSaleh Date: Thu, 16 Nov 2023 20:03:01 +0300 Subject: [PATCH] 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 --- tests/testsuite/rustflags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/rustflags.rs b/tests/testsuite/rustflags.rs index 437441a799b..7888899512d 100644 --- a/tests/testsuite/rustflags.rs +++ b/tests/testsuite/rustflags.rs @@ -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();