]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
stream.wasm : add HEAPU8 to exported runtime methods (#3130)
authorDaniel Bevenius <redacted>
Thu, 8 May 2025 14:58:34 +0000 (16:58 +0200)
committerGitHub <redacted>
Thu, 8 May 2025 14:58:34 +0000 (16:58 +0200)
commitb6f3fa4059d6108988eaeb104988b949d596aae3
treec8820ac61119d23c0a5ee0aa186e00cf234d4ac4
parentcb2bd11ee86c6d2a8c8c22ea3043682cbf127bcd
stream.wasm : add HEAPU8 to exported runtime methods (#3130)

* stream.wasm : add HEAPU8 to exported runtime methods

This commit adds HEAPU8 to the list of exported methods for stream.wasm.

The motivation for this is that without it HEAPUD8 will be undefined
and when its 'buffer' attribute is accessed this will cause error as
reported in the referenced issue.

Note that to test this make sure that the web browsers caches is cleared
first.

Resolves: https://github.com/ggml-org/whisper.cpp/issues/3123

* command.wasm : add HEAPU8 to exported runtime methods
examples/command.wasm/CMakeLists.txt
examples/stream.wasm/CMakeLists.txt