File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
.github/actions/setup-build Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ inputs:
44 node-version :
55 description : Node.js version to use
66 required : false
7- default : latest
7+ default : " 22 "
88 emscripten-version :
99 description : Emscripten version to use
1010 required : false
11- default : " 4.0.6 "
11+ default : " 4.0.8 "
1212outputs :
1313 emsdk :
1414 value : ${{ steps.emscripten.outputs.EMSDK }}
Original file line number Diff line number Diff line change @@ -167,9 +167,9 @@ async function main() {
167167all: lib/libraw.wasm
168168${ patchedMakefile }
169169lib/libraw.wasm: \${LIB_OBJECTS}
170- $\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s 'EXPORTED_FUNCTIONS=${ JSON . stringify (
170+ $\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s EXPORTED_RUNTIME_METHODS=HEAPU8 -s ALLOW_MEMORY_GROWTH=1 -s 'EXPORTED_FUNCTIONS=${ JSON . stringify (
171171 exportFunctions ,
172- ) } ' -s ALLOW_MEMORY_GROWTH=1 \${LIB_OBJECTS}
172+ ) } ' \${LIB_OBJECTS}
173173` ;
174174
175175 await fs . writeFile ( path . join ( cwd , "LibRaw/Makefile" ) , makefile ) ;
Original file line number Diff line number Diff line change @@ -99,12 +99,5 @@ export interface LibRawWasmModule {
9999 _libraw_get_ricoh_makernotes ( lr : LibRawDataT ) : number ;
100100 _libraw_get_samsung_makernotes ( lr : LibRawDataT ) : number ;
101101 _libraw_get_common_metadata ( lr : LibRawDataT ) : number ;
102- HEAP8 : Int8Array ;
103- HEAP16 : Int16Array ;
104- HEAP32 : Int32Array ;
105- HEAPF32 : Float32Array ;
106- HEAPF64 : Float64Array ;
107102 HEAPU8 : Uint8Array ;
108- HEAPU16 : Uint16Array ;
109- HEAPU32 : Uint32Array ;
110103}
You can’t perform that action at this time.
0 commit comments