Disable default features of gimli (#3208)

* Disable default features of `gimli`

For cranelift-less builds this avoids pulling in extra dependencies into
`gimli` that we don't need, improving build times slightly.

* Enable read features where necessary
This commit is contained in:
Alex Crichton
2021-08-19 10:30:18 -05:00
committed by GitHub
parent 331b0dee30
commit f1793934d6
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ serde = { version = "1.0.94", features = ["derive"] }
log = { version = "0.4.8", default-features = false }
more-asserts = "0.2.1"
cfg-if = "1.0"
gimli = "0.25.0"
gimli = { version = "0.25.0", default-features = false, features = ['read'] }
target-lexicon = "0.12"
[badges]