]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #82500 - CDirkx:hermit-pipe, r=joshtriplett
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 19 Mar 2021 14:03:14 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Mar 2021 14:03:14 +0000 (15:03 +0100)
commit4abcd4042c34a80872d0e687b9aa325e68b58d08
treeef56d035215cec61e39ad46f9bf57c886f233532
parenteb95acea8aeaeef834214eaffb15d64095fe9271
parent2cbea9f98e6d93b85d5f603be311313d41b87525
Rollup merge of #82500 - CDirkx:hermit-pipe, r=joshtriplett

Reuse `std::sys::unsupported::pipe` on `hermit`

Pipes are not supported on `hermit` and `hermit/pipe.rs` is identical to `unsupported/pipe.rs`. This PR reduces duplication between the two by doing the following on `hermit`:

```rust
#[path = "../unsupported/pipe.rs"]
pub mod pipe;
```