Only compile kwasm-net for wasm32-wasi.

This commit is contained in:
losfair 2019-05-14 16:45:26 +08:00
parent 1e7a928d64
commit d60e2377c1

View File

@ -1,3 +1,4 @@
#![cfg(all(target_arch = "wasm32", target_os = "wasi"))]
#![feature(wasi_ext)]
use std::cell::RefCell;