Skip to content

Commit

Permalink
Test with SAFE_HEAP=1
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Apr 6, 2024
1 parent 0edd939 commit a1ab41a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/php-wasm/compile/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,9 @@ RUN set -euxo pipefail; \
-s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "PROXYFS"]' \
-s INITIAL_MEMORY=1024MB \
-s ALLOW_MEMORY_GROWTH=1 \
-s ASSERTIONS=0 \
-s ASSERTIONS=1 \
-s SAFE_HEAP=1 \
-s SAFE_HEAP_LOG=0 \
-s ERROR_ON_UNDEFINED_SYMBOLS=0 \
-s NODEJS_CATCH_EXIT=0 \
-s NODEJS_CATCH_REJECTION=0 \
Expand Down
1 change: 1 addition & 0 deletions packages/playground/blueprints/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ export default defineConfig({
},
environment: 'jsdom',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
testTimeout: 30000,
},
});

0 comments on commit a1ab41a

Please sign in to comment.