Skip to content
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

WASM (rust): is referencing unsupported module #300

Open
andreanidouglas opened this issue Apr 10, 2023 · 0 comments
Open

WASM (rust): is referencing unsupported module #300

andreanidouglas opened this issue Apr 10, 2023 · 0 comments

Comments

@andreanidouglas
Copy link

andreanidouglas commented Apr 10, 2023

Bug Report

Current behavior
Trying to deploy: https://github.com/andreanidouglas/vercel-rust-example

$ vercel

Error: The Edge Function "api/xor" is referencing unsupported modules:
- wasm/pkg/wasm.js: vc-blob-asset:wasm_bg.wasm

the file wasm.js contains the necessary code to load the WASM into the target webpage
and the wasm_bg.wasm is the generated wasm file to be executed

Expected behavior/code

Upload package to edge runtime

Possible solution

Additional context/screenshots

Add any other context about the problem here. If applicable, add screenshots to help explain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant