message: Fix wasi-types JS tests
diff: @@ -13,7 +13,6 @@ edition = "2018"
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  [dependencies]
  -wasmer = { default-features = false, path = "../api", version = "3.0.0-beta" }
  wit-bindgen-rust = { package = "wasmer-wit-bindgen-rust", version = "0.1.1" }
  wit-bindgen-rust-wasm = { package = "wasmer-wit-bindgen-gen-rust-wasm", version = "0.1.1" }
  wit-bindgen-core = { package = "wasmer-wit-bindgen-gen-core", version = "0.1.1" }
  @@ -24,11 +23,16 @@ serde = { version = "1.0", features = ["derive"], optional = true }
  byteorder = "1.3"
  time = "0.2"
  +[target.'cfg(target_arch = "wasm32")'.dependencies]
  +wasmer = { default-features = false, path = "../api", version = "3.0.0-beta", features = ["js"] }
  +
  +[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  +wasmer = { default-features = false, path = "../api", version = "3.0.0-beta", features = ["sys"] }
  +
  [dev-dependencies.pretty_assertions]
  version = "1.3.0"
  [features]
  -default = ["sys"]
  enable-serde = ["serde", "wasmer-types/serde"]
  js = ["wasmer/js"]
  sys = ["wasmer/sys"]
  