mirror of
https://github.com/rust-lang/rust
synced 2024-10-02 23:04:50 +00:00
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
This commit is contained in:
commit
90846015cc
|
@ -2140,6 +2140,7 @@ fn aux_output_dir(&self) -> PathBuf {
|
||||||
|
|
||||||
if !self.props.aux_bins.is_empty() {
|
if !self.props.aux_bins.is_empty() {
|
||||||
let aux_bin_dir = self.aux_bin_output_dir_name();
|
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);
|
remove_and_create_dir_all(&aux_bin_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
extern crate libc;
|
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
|
// 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
|
// https://github.com/rust-lang/rust/blob/bf4de3a874753bbee3323081c8b0c133444fed2d/library/std/src/sys/pal/unix/process/process_unix.rs#L359-L384
|
||||||
#[unix_sigpipe = "sig_dfl"]
|
#[unix_sigpipe = "sig_dfl"]
|
||||||
|
|
Loading…
Reference in a new issue