Please include the following in your bug report: **Version of emscripten/emsdk:** ``` emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.10 (b7dc6e5747465580df5984e723b9d1f10d8e804b) clang version 21.0.0git (https:/github.com/llvm/llvm-project 8f7e57485ee73205e108d74abb5565d5c63beaca) Target: wasm32-unknown-emscripten Thread model: posix ``` **Failing command line in full:** If this is compile or link-time failure please include the full failing command along with its entire output. ``` wasm-split: /home/chongw/binaryen/src/literal.h:288: int32_t wasm::Literal::geti32() const: Assertion `type == Type::i32' failed. rebuild.sh: line 30: 4052 Aborted (core dumped) /home/chongw/binaryen/bin/wasm-split --enable-mutable-globals --export-prefix=% build/main.wasm.orig -o1 build/main.wasm -o2 build/main.deferred.wasm --profile=build/profile.data --enable-memory64 --verbose ``` Unable to run wasm-split for wasm built with `-sMEMORY64=1` even with wasm-split `--enable-memory64` flag. Sample app attached. [wasmsplit_memory64.zip](https://github.com/user-attachments/files/21180556/wasmsplit_memory64.zip)
Activity
sbc100 commentedon Jul 11, 2025
Could you open a bug in the binaryen repo for this?
kripken commentedon Jul 14, 2025
Replacing with that new issue.