Skip to content

Commit 49630b3

Browse files
committed
Remove signal handling.
Since signal handling was only implemented through librustuv, which is now gone, there's no reason to even provide the API. [breaking-change]
1 parent 153278f commit 49630b3

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/libnative/io/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,4 @@ impl rtio::IoFactory for IoFactory {
301301
})
302302
}
303303
}
304-
fn signal(&mut self, _signal: int, _cb: Box<rtio::Callback>)
305-
-> IoResult<Box<rtio::RtioSignal + Send>> {
306-
Err(unimpl())
307-
}
308304
}

src/librustrt/rtio.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,6 @@ pub trait IoFactory {
233233
fn pipe_open(&mut self, fd: c_int) -> IoResult<Box<RtioPipe + Send>>;
234234
fn tty_open(&mut self, fd: c_int, readable: bool)
235235
-> IoResult<Box<RtioTTY + Send>>;
236-
fn signal(&mut self, signal: int, cb: Box<Callback + Send>)
237-
-> IoResult<Box<RtioSignal + Send>>;
238236
}
239237

240238
pub trait RtioTcpListener : RtioSocket {

0 commit comments

Comments
 (0)