Pluggable JS↔WASM bridge feature flags.

Probed at module load by detectBridge(). The picked bridge combines the most-capable subset the host actually supports:

  • gc — WasmGC reference types (externref).
  • jsStringBuiltinswasm:js-string direct imports.
  • sharedMemory — SharedArrayBuffer + Atomics (future EPIC).
  • stringViewwasm:string-view (future, not baseline).

Mirrors the EPIC §"Pluggable bridge architecture" feature matrix. The interface is stable so future bridges plug in without touching runtime engine code.

interface BridgeFeatures {
    gc: boolean;
    jsStringBuiltins: boolean;
    sharedMemory: boolean;
    stringView: boolean;
}

Properties

gc: boolean
jsStringBuiltins: boolean
sharedMemory: boolean
stringView: boolean