diff --git a/tests/src/main.rs b/tests/src/main.rs index 75729b132a..5889526cfa 100644 --- a/tests/src/main.rs +++ b/tests/src/main.rs @@ -150,8 +150,8 @@ impl Runner { .join(DepKind::ProcMacro.target_dir_suffix(&target)), ], ); - if spirt { - flags += " -Cllvm-args=--spirt"; + if !spirt { + flags += " -Cllvm-args=--no-spirt"; } let config = compiletest::Config {