Update faerie to 0.9.1

This commit is contained in:
Yury Delendik
2019-03-26 10:05:25 -05:00
committed by Dan Gohman
parent db0abe8431
commit 94ca967d0a
11 changed files with 16 additions and 35 deletions

View File

@@ -17,9 +17,9 @@ wasmparser = { version = "0.28.0" }
cranelift-codegen = "0.29.0"
cranelift-entity = "0.29.0"
cranelift-wasm = "0.29.0"
faerie = "0.7.0"
faerie = "0.9.1"
wasmtime-environ = { path = "../wasmtime-environ", default-features = false }
target-lexicon = { version = "0.2.0", default-features = false }
target-lexicon = { version = "0.3.0", default-features = false }
failure = { version = "0.1.3", default-features = false }
failure_derive = { version = "0.1.3", default-features = false }

View File

@@ -74,7 +74,7 @@ pub fn emit_debugsections_image(
let segment_body = (segment_body.0 as *const u8, segment_body.1 - segment_body.0);
let body = unsafe { ::std::slice::from_raw_parts(segment_body.0, segment_body.1) };
obj.declare_with("all", Decl::Function { global: false }, body.to_vec())?;
obj.declare_with("all", Decl::function(), body.to_vec())?;
emit_dwarf(&mut obj, dwarf, &resolver);

View File

@@ -21,7 +21,7 @@ macro_rules! decl_section {
$artifact
.declare_with(
SectionId::$section.name(),
Decl::DebugSection,
Decl::debug_section(),
$name.0.writer.into_vec(),
)
.unwrap();