Skip to content

Commit 9084601

Browse files
committed
Auto merge of #124505 - Enselic:aux-bin-fix, r=jieyouxu
aux-bin: Avoid old .so files from old tests; clean auxiliary dir root Also fix the typo pointed out [here](https://github.com/rust-lang/rust/pull/123316/files#r1577081531). Closes #124465
2 parents c65b2dc + de3eff7 commit 9084601

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2140,6 +2140,7 @@ impl<'test> TestCx<'test> {
21402140

21412141
if !self.props.aux_bins.is_empty() {
21422142
let aux_bin_dir = self.aux_bin_output_dir_name();
2143+
remove_and_create_dir_all(&aux_dir);
21432144
remove_and_create_dir_all(&aux_bin_dir);
21442145
}
21452146

tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
extern crate libc;
1010

11-
// By default the Rust runtime resets SIGPIPE to SIG_DFL before exec:ing child
11+
// By default the Rust runtime resets SIGPIPE to SIG_DFL before exec'ing child
1212
// processes so opt-out of that with `#[unix_sigpipe = "sig_dfl"]`. See
1313
// https://github.com/rust-lang/rust/blob/bf4de3a874753bbee3323081c8b0c133444fed2d/library/std/src/sys/pal/unix/process/process_unix.rs#L359-L384
1414
#[unix_sigpipe = "sig_dfl"]

0 commit comments

Comments
 (0)