diff options
| author | Artyom Pavlov <newpavlov@gmail.com> | 2019-09-03 14:37:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-03 14:37:53 +0000 |
| commit | 0662fcf4f950ec2800f0b1e02254ef2389b55079 (patch) | |
| tree | 672ba95f47575607ac422f89afcbb0b66c25815d /src/libstd | |
| parent | 9fd203a01e0fe6fb307809fdfdbfcd3bda350cfc (diff) | |
| download | rust-0662fcf4f950ec2800f0b1e02254ef2389b55079.tar.gz rust-0662fcf4f950ec2800f0b1e02254ef2389b55079.zip | |
make wasi a target-specific dependency
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/Cargo.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml index 0d04b7a2740..173bcea0846 100644 --- a/src/libstd/Cargo.toml +++ b/src/libstd/Cargo.toml @@ -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" @@ -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" |
