We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2462b commit 180e447Copy full SHA for 180e447
crates/cuda_builder/src/lib.rs
@@ -378,6 +378,9 @@ impl CudaBuilder {
378
.output()
379
.expect("Failed to run ptxas");
380
println!("cargo:warning=PTXAS output: {:?}", ptxas_output);
381
+ if !ptxas_output.status.success() {
382
+ panic!("ptxas failed with exit code: {:?}", ptxas_output.status.code());
383
+ }
384
385
if let Some(copy_path) = &self.ptx_file_copy_path {
386
println!("cargo:warning=Copying PTX file from {} to {}", path.display(), copy_path.display());
0 commit comments