Remove wasi-common's dependency on num (#1557)

This dependency was unfortunately causing rebuilds switching between
`cargo test` and `cargo build` since the `num` crate had different
features activated in testbuild mode. Instead of fixing this I went
ahead and just removed the small dependency on the `num` crate in the
`wasi-common` crate, opting for simple local definitions or using the
standard library's endian-switching methods.
This commit is contained in:
Alex Crichton
2020-04-20 10:04:44 -05:00
committed by GitHub
parent 1845a01132
commit 967827f4b5
3 changed files with 74 additions and 115 deletions

View File

@@ -25,7 +25,6 @@ cfg-if = "0.1.9"
log = "0.4"
filetime = "0.2.7"
lazy_static = "1.4.0"
num = { version = "0.2.0", default-features = false }
wig = { path = "wig", version = "0.15.0" }
wiggle = { path = "../wiggle", default-features = false, version = "0.15.0" }