mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 21:38:39 +00:00
Fix error message for wasmer.lib not being found
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
This commit is contained in:
@@ -466,7 +466,7 @@ impl CreateExe {
|
|||||||
.iter()
|
.iter()
|
||||||
.find(|f| f.ends_with("libwasmer.a") || f.ends_with("wasmer.lib")).cloned()
|
.find(|f| f.ends_with("libwasmer.a") || f.ends_with("wasmer.lib")).cloned()
|
||||||
.ok_or_else(|| {
|
.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))
|
Ok((file, tarball_dir))
|
||||||
|
|||||||
Reference in New Issue
Block a user