Precompile native modules off request path

This commit is contained in:
udo
2026-07-16 22:51:16 +00:00
parent a247c2b520
commit 8dd307d316
6 changed files with 84 additions and 8 deletions
+10
View File
@@ -93,6 +93,16 @@ String wasm_backend_start(Request& request)
return(wasm_backend_ensure_started(&request));
}
bool wasm_serialized_module_needs_refresh(const String& wasm_path)
{
return(WasmWorker::serialized_module_needs_refresh(wasm_path));
}
String wasm_serialize_module_artifact(const String& wasm_path)
{
return(WasmWorker::serialize_module_artifact(wasm_path));
}
static bool wasm_artifact_exists(Request* context, const String& entry_unit)
{
if(entry_unit == "")