Skip to content

Commit

Permalink
Add spirv extension handling in compiletest
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Mar 10, 2021
1 parent 861872b commit a6624d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2069,6 +2069,8 @@ impl<'test> TestCx<'test> {
f = f.with_extra_extension("js");
} else if self.config.target.contains("wasm32") {
f = f.with_extra_extension("wasm");
} else if self.config.target.contains("spirv") {
f = f.with_extra_extension("spv");
} else if !env::consts::EXE_SUFFIX.is_empty() {
f = f.with_extra_extension(env::consts::EXE_SUFFIX);
}
Expand Down

0 comments on commit a6624d3

Please sign in to comment.