We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 332fcce commit 5918e69Copy full SHA for 5918e69
crates/cargo-gpu/src/main.rs
@@ -394,7 +394,11 @@ impl Install {
394
panic!("spirv-builder-cli build failed");
395
}
396
397
- let cli_path = release.join("spirv-builder-cli");
+ let cli_path = if cfg!(target_os = "windows") {
398
+ release.join("spirv-builder-cli").with_extension("exe")
399
+ } else {
400
+ release.join("spirv-builder-cli")
401
+ };
402
if cli_path.is_file() {
403
log::info!("successfully built {}", cli_path.display());
404
std::fs::rename(&cli_path, &dest_cli_path).unwrap();
0 commit comments