about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-07 18:57:22 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-05-07 18:57:25 +0200
commit802fe1756b9fdd6011e17ee6502d6909d2ce55ed (patch)
tree44a04726e3ba6dd7d0cb297863bb77073df9edaa /compiler/rustc_codegen_ssa
parent3ae15ca04f1ba5db8864b08203462e472cf8630a (diff)
downloadrust-802fe1756b9fdd6011e17ee6502d6909d2ce55ed.tar.gz
rust-802fe1756b9fdd6011e17ee6502d6909d2ce55ed.zip
Disable wasm feature of object in cg_ssa
The version 1 resolver unifies enabled features across the
whole workspace. This includes libstd which isn't allowed
to depend on wasmparser.
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/Cargo.toml b/compiler/rustc_codegen_ssa/Cargo.toml
index d7d91d09cfa..3fad41f4319 100644
--- a/compiler/rustc_codegen_ssa/Cargo.toml
+++ b/compiler/rustc_codegen_ssa/Cargo.toml
@@ -16,7 +16,6 @@ libc = "0.2.50"
 jobserver = "0.1.22"
 tempfile = "3.2"
 pathdiff = "0.2.0"
-object = "0.22.0"
 
 rustc_serialize = { path = "../rustc_serialize" }
 rustc_ast = { path = "../rustc_ast" }
@@ -34,3 +33,8 @@ rustc_index = { path = "../rustc_index" }
 rustc_macros = { path = "../rustc_macros" }
 rustc_target = { path = "../rustc_target" }
 rustc_session = { path = "../rustc_session" }
+
+[dependencies.object]
+version = "0.22.0"
+default-features = false
+features = ["read_core", "elf", "macho", "pe", "unaligned", "archive"]