Skip to content

Commit a83e73d

Browse files
committed
Move out tests of a deprecated module to work around #[test] bugs
rust-lang#47238
1 parent 4cfc2ce commit a83e73d

File tree

3 files changed

+416
-414
lines changed

3 files changed

+416
-414
lines changed

src/libstd/sync/mpsc/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ use self::select::StartResult;
279279
use self::select::StartResult::*;
280280
use self::blocking::SignalToken;
281281

282+
#[cfg(all(test, not(target_os = "emscripten")))]
283+
mod select_tests;
284+
282285
mod blocking;
283286
mod oneshot;
284287
mod select;

0 commit comments

Comments
 (0)