post-W7 cleanup
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
// W3 — production wasm workspace runtime + membrane (WASM-PROPOSAL §6, §7).
|
||||
//
|
||||
// One workspace per request: a fresh Wasmtime store holding the core module
|
||||
// instance (real uce_lib carve-out, owns memory/allocator/DValue) plus unit
|
||||
// instance (production uce_lib carve-out, owns memory/allocator/DValue) plus unit
|
||||
// PIC side modules loaded lazily — including mid-request via the
|
||||
// uce_host_component_resolve hostcall, which is how component()/unit_render()
|
||||
// inside the guest trigger dynamic loading.
|
||||
@@ -1691,7 +1691,7 @@ private:
|
||||
#ifdef UCE_WASM_HOST_CONNECTORS
|
||||
if(mod == "env" && name == "uce_host_sqlite")
|
||||
return(add([self](Caller, Span<const Val> args, Span<Val> results) -> Result<std::monostate, Trap> {
|
||||
// {op,handle,path,query,params} in → result out. The real native
|
||||
// {op,handle,path,query,params} in → result out. The native
|
||||
// connector runs host-side; connections live in the workspace
|
||||
// handle table (handle = 1-based index).
|
||||
String encoded;
|
||||
@@ -2030,7 +2030,7 @@ private:
|
||||
if(mod == "env" && name == "uce_host_regex")
|
||||
return(add([self](Caller, Span<const Val> args, Span<Val> results) -> Result<std::monostate, Trap> {
|
||||
// {op,pattern,subject,flags,replacement} in (UCEB1) → result out.
|
||||
// PCRE2 lives host-side; this runs the real native regex_*.
|
||||
// PCRE2 lives host-side; this runs the native regex_*.
|
||||
String encoded;
|
||||
self->hostcall_read(args[0].i32(), args[1].i32(), encoded);
|
||||
DValue request;
|
||||
|
||||
Reference in New Issue
Block a user