summaryrefslogtreecommitdiffstats
path: root/futures/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'futures/src/command.rs')
-rw-r--r--futures/src/command.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/futures/src/command.rs b/futures/src/command.rs
new file mode 100644
index 00000000..26f58fde
--- /dev/null
+++ b/futures/src/command.rs
@@ -0,0 +1,11 @@
+#[cfg(not(target_arch = "wasm32"))]
+mod native;
+
+#[cfg(not(target_arch = "wasm32"))]
+pub use native::Command;
+
+#[cfg(target_arch = "wasm32")]
+mod web;
+
+#[cfg(target_arch = "wasm32")]
+pub use web::Command;