Commit 10dcc58
authored
Fix Emscripten warnings by removing deprecated writeAsciiToMemory (#2724)
The Emscripten function writeAsciiToMemory has been deprecated and logs
warnings
during the build process.
- Replaced usages of writeAsciiToMemory in wabt.post.js with TextEncoder
- Fixed a 1-byte buffer overflow in allocateCString
- Removed writeAsciiToMemory from CMake EXPORTED_RUNTIME_METHODS1 parent d8e3fe6 commit 10dcc58
File tree
4 files changed
+47
-75
lines changed- docs/demo
- wat2wasm
- src
4 files changed
+47
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| |||
0 commit comments