diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-06-07 21:38:25 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-06-07 22:28:00 -0700 |
| commit | 95b9d538b8bda04e222c95d478b97c19d77bb5c6 (patch) | |
| tree | 819961fab6287b7b174879c1bddff7159487bdc2 /src/libcore/comm.rs | |
| parent | 7ef825bb607c4e934c92bd0b73ecbc4c24f3286b (diff) | |
| download | rust-95b9d538b8bda04e222c95d478b97c19d77bb5c6.tar.gz rust-95b9d538b8bda04e222c95d478b97c19d77bb5c6.zip | |
Use #[cfg(unix)] and #[cfg(windows)] everywhere
Diffstat (limited to 'src/libcore/comm.rs')
| -rw-r--r-- | src/libcore/comm.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 4f29e7d982a..7836d05c818 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -420,7 +420,7 @@ fn test_recv_chan() { #[test] #[should_fail] -#[ignore(cfg(target_os = "win32"))] +#[ignore(cfg(windows))] fn test_recv_chan_dead() { let ch = chan(port()); send(ch, "flower"); @@ -428,7 +428,7 @@ fn test_recv_chan_dead() { } #[test] -#[ignore(cfg(target_os = "win32"))] +#[ignore(cfg(windows))] fn test_recv_chan_wrong_task() { let po = port(); let ch = chan(po); @@ -464,7 +464,7 @@ fn test_listen() { } #[test] -#[ignore(cfg(target_os="win32"))] +#[ignore(cfg(windows))] fn test_port_detach_fail() { iter::repeat(100u) {|| let builder = task::builder(); |
