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

Generate bindings for WABT #10

Closed
1 of 2 tasks
Michael-F-Bryan opened this issue Aug 23, 2022 · 6 comments
Closed
1 of 2 tasks

Generate bindings for WABT #10

Michael-F-Bryan opened this issue Aug 23, 2022 · 6 comments

Comments

@Michael-F-Bryan
Copy link
Contributor

Michael-F-Bryan commented Aug 23, 2022

@Michael-F-Bryan Michael-F-Bryan removed this from the Minimum Viable Product milestone Sep 8, 2022
@Michael-F-Bryan
Copy link
Contributor Author

Michael-F-Bryan commented Sep 20, 2022

@syrusakbary was able to get WABT building again with wapm-packages/wabt@4751984 🥳

@Michael-F-Bryan
Copy link
Contributor Author

We currently can't generate bindings for WABT because of an error in the *.webc file.

Steps to reproduce:

$ cd wit-pack
$ cargo run -- --version
wit-pack-cli 0.3.0
$ curl https://registry-cdn.wapm.dev/packages/Michael-F-Bryan/wabt/wabt-1.0.15.webc -O
$ cargo run -- show wabt-1.0.15.webc
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/wit-pack show wabt-1.0.15.webc`
Error: Unable to load the package

Caused by:
    0: Unable to find "metadata://src/embedding/bindings.wit"
    1: Could not find file "src/embedding/bindings.wit": could not find file or directory "src" (os error 2)

See https://wasmerio.slack.com/archives/C03HTKHLD89/p1664187256072849.

@Michael-F-Bryan
Copy link
Contributor Author

This was blocked on https://github.com/wasmerio/pirita/issues/30.

@Michael-F-Bryan
Copy link
Contributor Author

I just checked locally and https://github.com/wasmerio/pirita/pull/32 fixes the "Could not find file src/embedding/bindings.wit" error from above.

Once that PR has been merged, we can re-generate the *.webc file on the WAPM backend and we can finally switch vscode-wasm over to the generated bindings 🥳

@Michael-F-Bryan
Copy link
Contributor Author

This item is currently waiting on the following:

@Michael-F-Bryan Michael-F-Bryan added this to the More Packages milestone Oct 4, 2022
@Michael-F-Bryan Michael-F-Bryan removed this from the More Packages milestone Nov 16, 2022
@Michael-F-Bryan
Copy link
Contributor Author

This is already done.

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