JoinIR/SSA/Stage-3: sync CURRENT_TASK and dev env
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user