Update to faerie 0.4.4 and goblin 0.0.17.

This commit is contained in:
Dan Gohman
2018-07-19 11:38:46 -07:00
parent 7f98f436f0
commit 32d657d62a
2 changed files with 5 additions and 5 deletions

View File

@@ -11,8 +11,8 @@ readme = "README.md"
[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.16.1" }
cranelift-module = { path = "../module", version = "0.16.1" }
faerie = "0.4.3"
goblin = "0.0.15"
faerie = "0.4.4"
goblin = "0.0.17"
failure = "0.1.1"
target-lexicon = "0.0.3"

View File

@@ -225,7 +225,7 @@ impl Backend for FaerieBackend {
.link(faerie::Link {
from: name,
to,
at: offset as usize,
at: u64::from(offset),
})
.map_err(|e| ModuleError::Backend(e.to_string()))?;
}
@@ -239,7 +239,7 @@ impl Backend for FaerieBackend {
.link(faerie::Link {
from: name,
to,
at: offset as usize,
at: u64::from(offset),
})
.map_err(|e| ModuleError::Backend(e.to_string()))?;
}
@@ -389,7 +389,7 @@ impl<'a> RelocSink for FaerieRelocSink<'a> {
faerie::Link {
from: self.name,
to: &ref_name,
at: offset as usize,
at: u64::from(offset),
},
faerie::RelocOverride {
reloc: raw_reloc,