about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--build_system/src/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_system/src/test.rs b/build_system/src/test.rs
index dabf6c5aa3e..83fa8059b1a 100644
--- a/build_system/src/test.rs
+++ b/build_system/src/test.rs
@@ -552,7 +552,7 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> {
             &"--stage",
             &"0",
             &"tests/assembly/asm",
-            &"--rustc-args",
+            &"--compiletest-rustc-args",
             &rustc_args,
         ],
         Some(&rust_dir),
@@ -1020,7 +1020,7 @@ where
             &"--stage",
             &"0",
             &format!("tests/{}", test_type),
-            &"--rustc-args",
+            &"--compiletest-rustc-args",
             &rustc_args,
         ],
         Some(&rust_path),