Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cargo-auditable/src/rustc_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ pub fn main(rustc_path: &OsStr) {
);
std::process::exit(1);
});
std::process::exit(results.code().unwrap());
let code = results
.code()
.expect("rustc was terminated by a deadly signal");
std::process::exit(code);
}

/// Creates a rustc command line and populates arguments from arguments passed to us.
Expand Down
Loading