Skip to content

Commit

Permalink
Fixed codegen args passing for spirt and non-spirt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oisyn committed Mar 14, 2023
1 parent 5f5f1ea commit 16e81ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 16e81ff

Please sign in to comment.