We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
;; toolkit.wat (module (import "env" "get_time_in_seconds" (func $get_time (result i32))) (func (export "getValue") (result i32) call $get_time ) )
// env.ts function getTimeInSeconds() { return Date.now() / 1000; } export { getTimeInSeconds as get_time_in_seconds };
// main.ts import { getValue } from "./toolkit.wasm"; console.log(getValue());
Actual:
> wat2wasm toolkit.wat > deno run main.ts error: Relative import path "env" not prefixed with / or ./ or ../
Expected:
> wat2wasm toolkit.wat > deno run main.ts error: Relative import path "env" not prefixed with / or ./ or ../ at file:///.../toolkit.wasm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Actual:
Expected:
The text was updated successfully, but these errors were encountered: