wasmtime-cli, obj, debug: upgrade to faerie 0.15

eliminating the faerie 0.14 dep
This commit is contained in:
Pat Hickey
2020-03-13 15:30:39 -07:00
parent 2b87db3f55
commit 2f6172732f
5 changed files with 9 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ edition = "2018"
[dependencies]
gimli = "0.20.0"
wasmparser = "0.51.2"
faerie = "0.14.0"
faerie = "0.15.0"
wasmtime-environ = { path = "../environ", version = "0.12.0" }
target-lexicon = { version = "0.10.0", default-features = false }
anyhow = "1.0"

View File

@@ -35,7 +35,8 @@ pub fn emit_dwarf(
id.name(),
Decl::section(SectionKind::Debug),
s.writer.take(),
)
)?;
Ok(())
})?;
sections.for_each_mut(|id, s| -> anyhow::Result<()> {
for reloc in &s.relocs {