Setting WASM_BIGINT enables support for using the bigint type in JS to pass 64-bit integers. This allows compiling lua with full 64-bit integer/float support. I ran this against my (fairly large) lua application and it seemed to resolve all the issues I was previously having with large numbers in lua.
Setting
WASM_BIGINT
enables support for using thebigint
type in JS to pass 64-bit integers. This allows compiling lua with full 64-bit integer/float support. I ran this against my (fairly large) lua application and it seemed to resolve all the issues I was previously having with large numbers in lua.