JoinIR/SSA/Stage-3: sync CURRENT_TASK and dev env

This commit is contained in:
nyash-codex
2025-12-01 11:10:46 +09:00
parent a3d5bacc55
commit 8633224061
52 changed files with 974 additions and 256 deletions

View File

@ -51,7 +51,15 @@ pub(super) fn load_plugin(
lib_path.display()
);
}
let lib = unsafe { Library::new(&lib_path) }.map_err(|_| BidError::PluginError)?;
let lib = unsafe { Library::new(&lib_path) }.map_err(|e| {
eprintln!(
"[plugin/init] dlopen failed for {} ({}): {}",
lib_name,
lib_path.display(),
e
);
BidError::PluginError
})?;
let lib_arc = Arc::new(lib);
unsafe {