pub fn host_lib_path(
crate_dir: &Path,
crate_name: &str,
) -> Result<PathBuf, BenchError>Available on crate feature
builders only.Expand description
Finds the host library path for UniFFI binding generation.
UniFFI requires a host-compiled library to generate bindings. This function locates that library in the target directory.
§Arguments
crate_dir- Path to the crate directorycrate_name- Name of the crate (used to construct library filename)
§Returns
Path to the host library (e.g., libfoo.dylib on macOS, libfoo.so on Linux)