Skip to content

Commit 802fe17

Browse files
committed
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.
1 parent 3ae15ca commit 802fe17

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler/rustc_codegen_ssa/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ libc = "0.2.50"
1616
jobserver = "0.1.22"
1717
tempfile = "3.2"
1818
pathdiff = "0.2.0"
19-
object = "0.22.0"
2019

2120
rustc_serialize = { path = "../rustc_serialize" }
2221
rustc_ast = { path = "../rustc_ast" }
@@ -34,3 +33,8 @@ rustc_index = { path = "../rustc_index" }
3433
rustc_macros = { path = "../rustc_macros" }
3534
rustc_target = { path = "../rustc_target" }
3635
rustc_session = { path = "../rustc_session" }
36+
37+
[dependencies.object]
38+
version = "0.22.0"
39+
default-features = false
40+
features = ["read_core", "elf", "macho", "pe", "unaligned", "archive"]

0 commit comments

Comments
 (0)