pub fn link_module(
target: &Target,
compile_info_blob: &[u8],
build_directory: &Path,
object_files: &[PathBuf],
import_trampoline_objects: &[PathBuf],
trampoline_objects: &[PathBuf],
dynamic_trampoline_objects: &[PathBuf],
debug_dir: Option<PathBuf>,
module_hash: Option<String>,
function_max_stack_usage: PrimaryMap<LocalFunctionIndex, Option<usize>>,
) -> Result<Compilation, CompileError>Expand description
Link all the per-function and trampoline objects (plus the Wasmer metadata object) into the final shared-object module image.