Skip to content

Commit dad59bd

Browse files
committed
Remove std::io::signal
The `std::io::signal` API was only implemented under `librustuv`, which is now being removed. Rather than keep around an unimplemented API, this commit removes it altogether. See the [runtime removal RFC](rust-lang/rfcs#230) for more context. See [green-rs](https://github.com/alexcrichton/green-rs/) for a possible migration path for signal handling code, although in the long run we plan to add native signal handling to `std::io`. [breaking-change]
1 parent c5d2ed5 commit dad59bd

File tree

2 files changed

+1
-238
lines changed

2 files changed

+1
-238
lines changed

src/libstd/io/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
`std::io` provides Rust's basic I/O types,
2222
for reading and writing to files, TCP, UDP,
2323
and other types of sockets and pipes,
24-
manipulating the file system, spawning processes and signal handling.
24+
manipulating the file system, spawning processes.
2525
2626
# Examples
2727
@@ -275,7 +275,6 @@ pub mod fs;
275275
pub mod net;
276276
pub mod pipe;
277277
pub mod process;
278-
pub mod signal;
279278
pub mod stdio;
280279
pub mod test;
281280
pub mod timer;

src/libstd/io/signal.rs

-236
This file was deleted.

0 commit comments

Comments
 (0)