cranelift-faerie: upgrade to faerie 0.15.0, fix error reporting

the `FaerieProduct` exposes faerie-specific types, so we can give
the `faerie::ArtifactError` on those methods.

`ModuleError::Backend` now expects an `anyhow::Error`, so we change
a .to_string into .into() and retain better error information.
This commit is contained in:
Pat Hickey
2020-03-13 11:52:40 -07:00
parent fdfda89d59
commit 2b87db3f55
3 changed files with 29 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
cranelift-module = { path = "../module", version = "0.59.0" }
faerie = "0.14.0"
faerie = "0.15.0"
goblin = "0.1.0"
anyhow = "1.0"
target-lexicon = "0.10"