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 2961efd commit 49235caCopy full SHA for 49235ca
crates/optix/examples/ex03_window/build.rs
@@ -36,7 +36,7 @@ fn compile_to_ptx(cu_path: &str, args: &[String]) {
36
.output()
37
.expect("failed to fun nvcc");
38
39
- // if !output.status.success() {
40
- // panic!("{}", unsafe { String::from_utf8_unchecked(output.stderr) });
41
- // }
+ if !output.status.success() {
+ panic!("{}", unsafe { String::from_utf8_unchecked(output.stderr) });
+ }
42
}
0 commit comments