Skip to content

Add prelimenary wasm32 support #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/unix/notbsd/linux/musl/b32/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ cfg_if! {
} else if #[cfg(any(target_arch = "arm"))] {
mod arm;
pub use self::arm::*;
} else if #[cfg(any(target_arch = "asmjs"))] {
} else if #[cfg(any(target_arch = "asmjs", target_arch = "wasm32"))] {
// For the time being asmjs and wasm32 are the same, and both
// backed by identical emscripten runtimes
mod asmjs;
pub use self::asmjs::*;
} else {
Expand Down
3 changes: 2 additions & 1 deletion src/unix/notbsd/linux/musl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ cfg_if! {
} else if #[cfg(any(target_arch = "x86",
target_arch = "mips",
target_arch = "arm",
target_arch = "asmjs"))] {
target_arch = "asmjs",
target_arch = "wasm32"))] {
mod b32;
pub use self::b32::*;
} else { }
Expand Down