Fix error message for wasmer.lib not being found

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
This commit is contained in:
Felix Schütt
2022-12-30 13:22:32 +01:00
committed by GitHub
parent f4081dabae
commit 3d20e6a112

View File

@@ -466,7 +466,7 @@ impl CreateExe {
.iter()
.find(|f| f.ends_with("libwasmer.a") || f.ends_with("wasmer.lib")).cloned()
.ok_or_else(|| {
anyhow!("Could not find libwasmer.a for {} target in the provided tarball path (files = {files:#?})", target)
anyhow!("Could not find libwasmer.a / wasmer.lib for {} target in the provided tarball path (files = {files:#?})", target)
})?;
Ok((file, tarball_dir))