mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
Add spirv extension handling in compiletest
This commit is contained in:
@@ -2069,6 +2069,8 @@ fn make_exe_name(&self) -> PathBuf {
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user