When the link-time .d.ts post-processor rewrites method signatures to unknown (or codegen collects unbound-reference diagnostics), the build always prints a triage summary to stderr. Set =1 to escalate that condition to a build failure.
Override the dep pinning (OCCT, freetype, rapidjson).
OCJS_EMSDK_DIR
/deps/emsdk
Location of the emscripten SDK inside the image.
OCJS_PYTHON
python3
Python interpreter for the bindgen.
OCJS_OUTPUT_DIR
/src (in container) / ./dist (host)
Where the link step writes the final .wasm, .js, .d.ts, and .build-manifest.json. In-container default is /src so the canonical single-mount Quickstart (docker run -v "$(pwd):/src" …) writes outputs next to the YAML automatically. Override to a separate path if you need outputs outside the bind-mount.
# Custom-trimmed Os build for an embedded edge runtime.# OCJS_STRICT_TYPES=1 escalates the missing-typedef warning to a build# failure -- recommended in CI; omit it for local builds (warn-only is# the default).OCJS_CONFIG=single-threaded-smallest \OCJS_STRICT_TYPES=1 \OCJS_PARALLEL_JOBS=8 \./build-wasm.sh link build-configs/edge-runtime.yml