about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-16 17:17:57 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-16 17:17:57 +0200
commita18a1948e04dcd619e5112724d37eb81b35a6687 (patch)
tree4deb667632e640860f31578a0d34b2085d51d2dc
parent51f816f2a77c9ccca5f2dfe4db08d662400a89ac (diff)
downloadrust-a18a1948e04dcd619e5112724d37eb81b35a6687.tar.gz
rust-a18a1948e04dcd619e5112724d37eb81b35a6687.zip
Remove wasmparser dependency through object
-rw-r--r--Cargo.lock7
-rw-r--r--Cargo.toml2
2 files changed, 1 insertions, 8 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d522fc8da24..f54157234da 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -251,7 +251,6 @@ checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693"
 dependencies = [
  "crc32fast",
  "indexmap",
- "wasmparser",
 ]
 
 [[package]]
@@ -403,12 +402,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
 
 [[package]]
-name = "wasmparser"
-version = "0.57.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32fddd575d477c6e9702484139cf9f23dcd554b06d185ed0f56c857dd3a47aa6"
-
-[[package]]
 name = "winapi"
 version = "0.3.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 6250dc8573b..60f9a29960f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ cranelift-simplejit = { git = "https://github.com/bytecodealliance/wasmtime/", b
 cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
 target-lexicon = "0.10.0"
 gimli = { version = "0.21.0", default-features = false, features = ["write"]}
-object = { version = "0.21.1", default-features = false, features = ["read", "std", "write"] }
+object = { version = "0.21.1", default-features = false, features = ["std", "read_core", "write", "coff", "elf", "macho", "pe"] }
 
 ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
 indexmap = "1.0.2"