We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d15cee5 commit e22dd1aCopy full SHA for e22dd1a
library/std/src/sys/anonymous_pipe/mod.rs
@@ -10,7 +10,7 @@ pub fn pipe() -> io::Result<(PipeReader, PipeWriter)> {
10
} else if #[cfg(windows)] {
11
windows::pipe()
12
} else {
13
- panic!("Anonymous pipe is not supported on this target!")
+ Err(io::Error::UNSUPPORTED_PLATFORM)
14
}
15
16
0 commit comments