We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b5dda commit aa276fcCopy full SHA for aa276fc
packages/libraw.wasm/scripts/build.mjs
@@ -167,9 +167,9 @@ async function main() {
167
all: lib/libraw.wasm
168
${patchedMakefile}
169
lib/libraw.wasm: \${LIB_OBJECTS}
170
- $\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s 'EXPORTED_FUNCTIONS=${JSON.stringify(
+ $\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s EXPORTED_RUNTIME_METHODS=HEAPU8 -s ALLOW_MEMORY_GROWTH=1 -s 'EXPORTED_FUNCTIONS=${JSON.stringify(
171
exportFunctions,
172
- )}' -s ALLOW_MEMORY_GROWTH=1 \${LIB_OBJECTS}
+ )}' \${LIB_OBJECTS}
173
`;
174
175
await fs.writeFile(path.join(cwd, "LibRaw/Makefile"), makefile);
0 commit comments