Repository navigation
Set a 256 KB stack for the wasm binding - #288
Conversation
Default stack is 64 KB and cong-global overflows it on some sentences.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
@ollipa Thank you for your contribution. It looks good to me. I'll merge it. |
Fixes #287.
Emscripten's default stack is 64 KB (since 3.1.27), and
cong-globaloverflows it on some sentences (memory access out of bounds). This adds-s STACK_SIZE=256KBto the wasm link flags and a test to catch the issue. I verified that the test failed with the old code and passes with the change in this PR.Summary by CodeRabbit
Improvements
Tests
cong-globalmodel.