This package contains the source code of Teleport Web UI.
Follow the instructions from web/README.md
.
The wasm-pack
version in build.assets/Makefile (search for WASM_PACK_VERSION
) is required to build the WebAssembly module.
When calling wasm-pack
, we set the environment variable RUST_MIN_STACK=16777216
. This is necessary to avoid a SIGSEGV
error when building the module on some systems.
16777216
was chosen based on the suggestion in the rust compiler error message to double the DEFAULT_STACK_SIZE
value.