Skip to content

Commit

Permalink
made libc optional so that it isnt pulled when not using libstd (wasm…
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenpo authored Mar 31, 2020
1 parent d186a3d commit 39a18a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ memory_units = "0.3.0"
libm = { version = "0.1.2", optional = true }
num-rational = { version = "0.2.2", default-features = false }
num-traits = { version = "0.2.8", default-features = false }
libc = "0.2.58"
libc = { version = "0.2.58", optional = true}
errno = { version = "0.2.4", optional = true }

[dev-dependencies]
Expand All @@ -33,7 +33,8 @@ std = [
"wasmi-validation/std",
"num-rational/std",
"num-rational/bigint-std",
"num-traits/std"
"num-traits/std",
"libc"
]
# Enable for no_std support
core = [
Expand Down

0 comments on commit 39a18a4

Please sign in to comment.