Skip to content

Commit

Permalink
Disable wasm feature of object in cg_ssa
Browse files Browse the repository at this point in the history
The version 1 resolver unifies enabled features across the
whole workspace. This includes libstd which isn't allowed
to depend on wasmparser.
  • Loading branch information
bjorn3 committed May 7, 2021
1 parent 3ae15ca commit 802fe17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion compiler/rustc_codegen_ssa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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"]

0 comments on commit 802fe17

Please sign in to comment.