From 448d527fd8d705393274198d858a4e2d2a2d8d54 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Mon, 29 Apr 2024 06:49:39 +0200 Subject: [PATCH 1/2] Typo fix: exec:ing -> exec'ing --- tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs index 694fa460e9bb4..3e63349edb747 100644 --- a/tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs +++ b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs @@ -8,7 +8,7 @@ extern crate libc; -// By default the Rust runtime resets SIGPIPE to SIG_DFL before exec:ing child +// By default the Rust runtime resets SIGPIPE to SIG_DFL before exec'ing child // processes so opt-out of that with `#[unix_sigpipe = "sig_dfl"]`. See // https://github.com/rust-lang/rust/blob/bf4de3a874753bbee3323081c8b0c133444fed2d/library/std/src/sys/pal/unix/process/process_unix.rs#L359-L384 #[unix_sigpipe = "sig_dfl"] From de3eff79a6456aa3f31e37123e73ef713d00f781 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Mon, 29 Apr 2024 06:50:38 +0200 Subject: [PATCH 2/2] aux-bin: Avoid old .so files from old tests; clean auxiliary dir root --- src/tools/compiletest/src/runtest.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index b0f84b1162f4b..da51b33a9d6d9 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2140,6 +2140,7 @@ impl<'test> TestCx<'test> { if !self.props.aux_bins.is_empty() { let aux_bin_dir = self.aux_bin_output_dir_name(); + remove_and_create_dir_all(&aux_dir); remove_and_create_dir_all(&aux_bin_dir); }