-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(rust): allocation not working #111
fix(rust): allocation not working #111
Conversation
✔️ Deploy Preview for wasm4 ready! 🔨 Explore the source changes: 6885d97 🔍 Inspect the deploy log: https://app.netlify.com/sites/wasm4/deploys/6151fdb54664b800087878f2 😎 Browse the preview: https://deploy-preview-111--wasm4.netlify.app |
Description Improves ergonomics of trace and text via `T : AsRef<T>` generic. References: - https://doc.rust-lang.org/std/convert/trait.AsRef.html - https://doc.rust-lang.org/src/alloc/string.rs.html#2483 - https://doc.rust-lang.org/std/string/struct.String.html#impl-AsRef%3C%5Bu8%5D%3E
Other changes: * bump -zstack-size to 8624 * remove trailing whitespaces
Bummer that Thanks so much for your work on this! It's great to finally have dynamic memory allocation all sorted out across all 4 supported wasm languages. 😄 |
Description
Adds buddy-alloc as optional default allocator and increases the stack size.
Issues
text
ortrace
andformat!
throwsRuntimeError: unreachable executed
#36Related PR
See also
--import-memory
rustwasm/wasm-bindgen#1389 (comment)