Skip to content

Commit 72729e2

Browse files
committed
Disable read feature of gimli
1 parent 3d5b54d commit 72729e2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ faerie = "0.12.0"
2525
ar = "0.8.0"
2626
byteorder = "1.2.7"
2727
libc = "0.2.53"
28-
gimli = "0.19.0"
2928
indexmap = "1.0.2"
30-
libloading = "0.5.1"
3129

3230
[dependencies.object]
3331
version = "0.16.0"
3432
default-features = false
3533
features = ["compression", "read", "std"] # We don't need WASM support
3634

35+
[dependencies.gimli]
36+
version = "0.19.0"
37+
default-features = false
38+
features = ["write"] # We don't need read support
39+
3740
# Uncomment to use local checkout of cranelift
3841
#[patch."https://github.com/bytecodealliance/cranelift/"]
3942
#cranelift-codegen = { path = "../cranelift/cranelift-codegen", default-features = false, features = ["std"] }
@@ -48,6 +51,7 @@ features = ["compression", "read", "std"] # We don't need WASM support
4851

4952
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
5053
cranelift-simplejit = { git = "https://github.com/bytecodealliance/cranelift/" }
54+
libloading = "0.5.1"
5155

5256
[profile.dev]
5357
# By compiling dependencies with optimizations, performing tests gets much faster.

0 commit comments

Comments
 (0)