Function flowclib::compiler::compile_wasm::compile_implementation
source · [−]pub fn compile_implementation(
target_dir: &Path,
function: &mut FunctionDefinition,
native_only: bool,
optimize: bool,
source_urls: &mut HashSet<(Url, Url)>
) -> Result<(PathBuf, 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