Function compile_implementation

Source
pub fn compile_implementation(
    out_dir: &Path,
    cargo_target_dir: PathBuf,
    wasm_destination: &Path,
    implementation_source_path: &Path,
    function: &mut FunctionDefinition,
    native_only: bool,
    optimize: bool,
    source_urls: &mut BTreeMap<String, Url>,
) -> Result<bool>
Expand description

Compile a function’s implementation to wasm and modify implementation to point to the wasm file Checks the timestamps of the source and wasm files and only recompiles if wasm file is out of date