-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
71: Disable multithreading for all wasm32 targets. r=torkleyy a=BartAdv With the coming of `wasm32-unknown-unknown` it might be good idea to use `target_arch = "wasm32"` to detect whether to build with multithreading support or not.
- Loading branch information
Showing
6 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#[cfg(not(target_os = "emscripten"))] | ||
#[cfg(feature = "parallel")] | ||
pub use self::async::AsyncDispatcher; | ||
pub use self::builder::DispatcherBuilder; | ||
pub use self::dispatcher::Dispatcher; | ||
#[cfg(not(target_os = "emscripten"))] | ||
#[cfg(feature = "parallel")] | ||
pub use self::par_seq::{Par, ParSeq, Seq}; | ||
|
||
#[cfg(not(target_os = "emscripten"))] | ||
#[cfg(feature = "parallel")] | ||
mod async; | ||
mod builder; | ||
mod dispatcher; | ||
#[cfg(not(target_os = "emscripten"))] | ||
#[cfg(feature = "parallel")] | ||
mod par_seq; | ||
mod stage; | ||
mod util; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters