GitHub Actions: use C library for WebAssembly build

RagePhoto.c: fix header includes
This commit is contained in:
Syping 2023-06-06 20:22:20 +02:00
parent 3046cbd077
commit 8a29d8aebe
3 changed files with 5 additions and 4 deletions

View file

@ -33,6 +33,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0")
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
"SHELL:-s MODULARIZE=1"
"SHELL:-s WASM=1"
"SHELL:-s WASM_BIGINT=1"
"SHELL:-s EXPORT_NAME=libragephotoModule"
"SHELL:-s EXPORTED_FUNCTIONS=_free,_malloc"
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"