Skip to content

Commit

Permalink
remove TODO for checking for success (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray authored Aug 14, 2024
1 parent 113b3a7 commit f8ab4b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/csharp/rust_code/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() {
.csharp_class_name("NativeMethods")
.csharp_use_nint_types(false)
.generate_csharp_file(path_to_output_file)
.unwrap();
.expect("csharp bindgen failed to generate bindgen file");
}

fn path_to_bindings_folder() -> PathBuf {
Expand Down
1 change: 0 additions & 1 deletion bindings/java/rust_code/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ fn main() {
}
let output = command.output().unwrap();

// TODO: check if we need this in other build.rs scripts
if !output.status.success() {
let output = std::str::from_utf8(&output.stderr).unwrap();
panic!("{}", output)
Expand Down

0 comments on commit f8ab4b5

Please sign in to comment.