-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch over to the WABT bindings generated by wit-pack #40
Conversation
This is waiting on https://github.com/wasmerio/wapm.io-backend/issues/240. |
I've updated this to use the Also, how do I test this? |
|
It currently fails:
|
I've added the "dom" lib to the And then we got other error:
After fixing the file manually importing // @ts-ignore
import { Wasi } from "@wasmer/wasi";
import { Bindings as BaseBindings } from "./bindings/bindings";
/**
* Options used when initializing the bindings.
*/
export type LoadOptions = {
/** Additional imports to be provided to the WebAssembly module */
imports: WebAssembly.Imports,
/**
* A user-specified WebAssembly module to use instead of the one bundled
* with this package.
*/
module: WebAssembly.Module,
};
/**
* Extended options used when loading a WASI library.
*/
export type WasiLoadOptions = LoadOptions & {
/** An initialized `@wasmer/wasi` object. */
wasi: Wasi,
};
export default class Bindings {
bindings(options?: Partial<WasiLoadOptions>): Promise<BaseBindings>;
} |
The |
No description provided.