Skip to content
/ rust Public
forked from rust-lang/rust

Commit d47e5a3

Browse files
committed
Temporarily depend on os_pipe in run-make-support and re-export it
For `broken-pipe-no-ice` until std `anonymous_pipe` stabilizes.
1 parent 9befcfd commit d47e5a3

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

Cargo.lock

+11
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,16 @@ version = "0.2.0"
25262526
source = "registry+https://github.com/rust-lang/crates.io-index"
25272527
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
25282528

2529+
[[package]]
2530+
name = "os_pipe"
2531+
version = "1.2.1"
2532+
source = "registry+https://github.com/rust-lang/crates.io-index"
2533+
checksum = "5ffd2b0a5634335b135d5728d84c5e0fd726954b87111f7506a61c502280d982"
2534+
dependencies = [
2535+
"libc",
2536+
"windows-sys 0.59.0",
2537+
]
2538+
25292539
[[package]]
25302540
name = "overload"
25312541
version = "0.1.1"
@@ -3050,6 +3060,7 @@ dependencies = [
30503060
"gimli 0.31.1",
30513061
"libc",
30523062
"object 0.36.7",
3063+
"os_pipe",
30533064
"regex",
30543065
"serde_json",
30553066
"similar",

src/tools/run-make-support/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@ build_helper = { path = "../../build_helper" }
1414
serde_json = "1.0"
1515
libc = "0.2"
1616

17+
# FIXME(#137532): replace `os_pipe` with `anonymous_pipe` once it stabilizes and
18+
# reaches beta.
19+
os_pipe = "1.2.1"
20+
1721
[lib]
1822
crate-type = ["lib", "dylib"]

src/tools/run-make-support/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ pub use bstr;
4040
pub use gimli;
4141
pub use libc;
4242
pub use object;
43+
// FIXME(#137532): replace with std `anonymous_pipe` once it stabilizes and reaches beta.
44+
pub use os_pipe;
4345
pub use regex;
4446
pub use serde_json;
4547
pub use similar;

0 commit comments

Comments
 (0)