-
Notifications
You must be signed in to change notification settings - Fork 41
Open
webassemblylabs/wasm-workers-server
#2Labels
🐛 bugSomething isn't workingSomething isn't working👋 good first issueGood for newcomersGood for newcomers🔨 sdksIssues related to language SDKsIssues related to language SDKs🛟 help wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
At this time, the Zig SDK contains some hardcoded values when preparing the response object for Wasm Workers Server.
We should be able to return arbitrarily big responses from a Zig worker, and so, the Zig SDK should use allocation in order to prepare these responses, regardless of how big the response is.
Reproduction steps
- Create a Zig worker following the documentation
- Make it return a relatively big response
- See crash due to memory limits
Expected behavior
An answer is produced normally, and returned by Wasm Workers Server back to the user.
Additional context
No response
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working👋 good first issueGood for newcomersGood for newcomers🔨 sdksIssues related to language SDKsIssues related to language SDKs🛟 help wantedExtra attention is neededExtra attention is needed