Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a more friendly error msg when nvcc fails #340

Merged
merged 2 commits into from
Jan 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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