summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Michelotti <michelotti.matthew@gmail.com>2018-05-05 22:56:37 -0500
committerMatthew Michelotti <michelotti.matthew@gmail.com>2018-05-05 22:56:37 -0500
commit96a28c69a7ecc0c165b10969429d4acc452942f6 (patch)
tree74693fc9760808ff340e09594ec2dabbb8707bdd
parent0112623e1a3ef406b85614fcd0aad934ee881ea0 (diff)
limited re-exports
-rw-r--r--gate/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/gate/src/lib.rs b/gate/src/lib.rs
index be80fb9..b46009a 100644
--- a/gate/src/lib.rs
+++ b/gate/src/lib.rs
@@ -63,7 +63,8 @@ mod app_context;
mod input;
mod core;
-pub use core::*; // exports WASM FFI function
+#[cfg(target_arch = "wasm32")]
+pub use core::{wasm_imports, wasm_exports};
pub use app_context::{AppContext, Audio};
pub use input::KeyCode;