mirror of
https://github.com/Z3Prover/z3
synced 2026-01-07 03:22:44 +00:00
wasm build: disable error handler (#5996)
* wasm: set error handler to no-op * wasm: better wrapper for use in html
This commit is contained in:
parent
39f57fb7ca
commit
312e037458
8 changed files with 83 additions and 18 deletions
10
src/api/js/src/node-wrapper.ts
Normal file
10
src/api/js/src/node-wrapper.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// @ts-ignore no-implicit-any
|
||||
import initModule = require('./z3-built.js');
|
||||
|
||||
// @ts-ignore no-implicit-any
|
||||
import { init as initWrapper } from './wrapper';
|
||||
|
||||
export * from './wrapper';
|
||||
export function init() {
|
||||
return initWrapper(initModule);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue