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

[WIP] Include current wit-bindgen configuration #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flaki
Copy link

@flaki flaki commented Apr 3, 2023

Bindings for JS/TS are currently auto-generated by an earlier version of wit-bindgen, the result of which is included in this repo at typescript/src/bindings. This PR serves as both documentation and initial reproduction of the process for generating these bindings from a wit file.

The wit interface is derived from @ospencer's original PR, removing the APIs that have been deprecated since.

Note that generating the JS bindings uses an older, specific version of wit-bindgen and JS binding generation has been removed in later versions, this PR and wit interface could serve as a basis of bringing this feature up-to-date with the WebAssembly Component Model and modern versions of wit-bindgen.

Please also note, that albeit the Dockerfile will generate the Rust bindings, as provided by this version of wit-bindgen, the current SDK uses manually written Rust language bindings, not auto-generated ones.

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

Successfully merging this pull request may close these issues.

1 participant