Skip to content

Commit

Permalink
make wasi a target-specific dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Sep 3, 2019
1 parent 9fd203a commit 0662fcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libstd/Cargo.toml
Expand Up @@ -24,7 +24,6 @@ compiler_builtins = { version = "0.1.16" }
profiler_builtins = { path = "../libprofiler_builtins", optional = true }
unwind = { path = "../libunwind" }
hashbrown = { version = "0.5.0", features = ['rustc-dep-of-std'] }
wasi = { version = "0.7.0", features = ['rustc-dep-of-std', 'alloc'] }

[dependencies.backtrace]
version = "0.3.35"
Expand Down Expand Up @@ -57,6 +56,9 @@ dlmalloc = { version = "0.1", features = ['rustc-dep-of-std'] }
[target.x86_64-fortanix-unknown-sgx.dependencies]
fortanix-sgx-abi = { version = "0.3.2", features = ['rustc-dep-of-std'] }

[target.wasm32-wasi.dependencies]
wasi = { version = "0.7.0", features = ['rustc-dep-of-std', 'alloc'] }

[build-dependencies]
cc = "1.0"

Expand Down

0 comments on commit 0662fcf

Please sign in to comment.