Skip to content

Commit

Permalink
Added a more friendly error msg when nvcc fails (risc0#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
mothran authored Jan 19, 2023
1 parent 13880b1 commit 10f03db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion risc0/zkp/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn build_cuda_kernels(out_dir: &Path) {
.arg("-o")
.arg(&out_path)
.status()
.unwrap();
.expect("Failed to run 'nvcc' executable, do you have the 'cuda' package installed?");
if result.success() {
for src in src_paths {
println!("cargo:rerun-if-changed={src}");
Expand Down

0 comments on commit 10f03db

Please sign in to comment.