wasmerio/wasmer · error
failed to remove incomplete wee8 lib dir {}: {err}
Error message
failed to remove incomplete wee8 lib dir {}: {err} What it means
Error "failed to remove incomplete wee8 lib dir {}: {err}" thrown in wasmerio/wasmer.
Source
Thrown at lib/api/build.rs:54
let archive_path = cache_dir.join(asset_name);
let v8_lib_dir = cache_dir.join("lib");
let v8_lib_path = v8_lib_dir.join(if cfg!(target_os = "windows") {
"v8.lib"
} else {
"libv8.a"
});
if !v8_lib_path.exists() {
fs::create_dir_all(&cache_dir).unwrap_or_else(|err| {
panic!(
"failed to create v8 cache dir {}: {err}",
cache_dir.display()
)
});
if v8_lib_dir.exists() && !v8_lib_path.exists() {
fs::remove_dir_all(&v8_lib_dir).unwrap_or_else(|err| {
panic!(
"failed to remove incomplete wee8 lib dir {}: {err}",
v8_lib_dir.display()
)
});
}
if !archive_path.exists() {
use std::io::Write;
let url = format!(
"https://github.com/wasmerio/wee8-custom-builds/releases/download/{WEE8_RELEASE_VERSION}/{asset_name}"
);
let tar_data = ureq::get(&url)
.call()
.expect("failed to download v8")
.body_mut()
.with_config()
// Windows prebuilts are substantially larger.View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/api/build.rs:54 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01).
Data as JSON: /api/errors/cc1d17b647996a06.
Report an issue: GitHub.