mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Fix typo conpile -> compile
This commit is contained in:
@@ -402,7 +402,7 @@ pub(super) fn compile_pirita_into_directory(
|
|||||||
let prefix_map = PrefixMapCompilation::from_input(&atoms_from_file, prefixes, false)
|
let prefix_map = PrefixMapCompilation::from_input(&atoms_from_file, prefixes, false)
|
||||||
.with_context(|| anyhow::anyhow!("compile_pirita_into_directory"))?;
|
.with_context(|| anyhow::anyhow!("compile_pirita_into_directory"))?;
|
||||||
|
|
||||||
let module_infos = conpile_atoms(
|
let module_infos = compile_atoms(
|
||||||
&atoms_from_file,
|
&atoms_from_file,
|
||||||
&target_dir.join("atoms"),
|
&target_dir.join("atoms"),
|
||||||
compiler,
|
compiler,
|
||||||
@@ -664,7 +664,7 @@ fn test_split_prefix() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn conpile_atoms(
|
fn compile_atoms(
|
||||||
atoms: &[(String, Vec<u8>)],
|
atoms: &[(String, Vec<u8>)],
|
||||||
output_dir: &Path,
|
output_dir: &Path,
|
||||||
compiler: &CompilerOptions,
|
compiler: &CompilerOptions,
|
||||||
@@ -867,7 +867,7 @@ pub(super) fn prepare_directory_from_single_wasm_file(
|
|||||||
let prefix_map = PrefixMapCompilation::from_input(&atoms_from_file, prefix, false)
|
let prefix_map = PrefixMapCompilation::from_input(&atoms_from_file, prefix, false)
|
||||||
.with_context(|| anyhow::anyhow!("prepare_directory_from_single_wasm_file"))?;
|
.with_context(|| anyhow::anyhow!("prepare_directory_from_single_wasm_file"))?;
|
||||||
|
|
||||||
let module_infos = conpile_atoms(
|
let module_infos = compile_atoms(
|
||||||
&atoms_from_file,
|
&atoms_from_file,
|
||||||
&target_dir.join("atoms"),
|
&target_dir.join("atoms"),
|
||||||
compiler,
|
compiler,
|
||||||
|
|||||||
Reference in New Issue
Block a user