Skip to content

Commit

Permalink
fix: here's why not to use nightly by default!
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Nov 23, 2024
1 parent 0fe8e6b commit effd7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ort-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ fn prepare_libort_dir() -> (PathBuf, bool) {
match std::fs::rename(&temp_extract_dir, bin_extract_dir) {
Ok(()) => {}
Err(e) => match e.kind() {
io::ErrorKind::AlreadyExists | io::ErrorKind::DirectoryNotEmpty => {
io::ErrorKind::AlreadyExists => {
let _ = fs::remove_dir_all(temp_extract_dir);
}
_ => panic!("failed to extract downloaded binaries: {e}")
Expand Down

0 comments on commit effd7a7

Please sign in to comment.