MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / importFFI

Function importFFI

apps/cli/src/main.ts:29–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 type QuickJSSyncVariant = import("quickjs-emscripten").QuickJSSyncVariant;
28 const wasmBinary = await Bun.file(wasmOnDisk).arrayBuffer();
29 const importFFI: QuickJSSyncVariant["importFFI"] = () =>
30 import("@jitl/quickjs-wasmfile-release-sync/ffi").then((m) => m.QuickJSFFI);
31 const importModuleLoader: QuickJSSyncVariant["importModuleLoader"] = async () => {
32 const { default: original } =
33 await import("@jitl/quickjs-wasmfile-release-sync/emscripten-module");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected