bytecodealliance / lucet

Lucet, the Sandboxing WebAssembly Compiler.
Apache License 2.0
4.07k stars 164 forks source link

Add command-line option to `lucetc` to limit the globals size of produced modules. #585

Open acfoltzer opened 4 years ago

acfoltzer commented 4 years ago

We already have --max-reserved-size fulfilling a similar purpose. Being able to do the same for globals will help move errors from instantiation time to compile time when we know in advance the maximum globals size configured in the runtime.