The WebAssembly module links GNU MPFR 4.2.2 and GNU GMP 6.3.0. The linked libraries are provided under LGPL version 3 or later. Lucent source is under MIT.
Use Emscripten 4.0.10. Build compatible static GMP and MPFR archives using the commands in the Lucent source archive, with any library changes you want to test. Run scripts/relink-wasm.sh liblucent.a /path/to/static/libraries lucent.mjs. Serve the generated module and WASM binary together from the application engine directory.