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

Enable specifying namespaces/packages in with #8083

Merged
merged 1 commit into from Mar 12, 2024

Conversation

alexcrichton
Copy link
Member

This commit implements bytecodealliance/wit-bindgen#840 for Wasmtime. Currently with keys to bindgen only support either mapping resources or interfaces. Now they additionally support mapping entire packages or entire namespaces. This can help clean up some references to interfaces through our own bindings to avoid listing all of them.

This commit implements bytecodealliance/wit-bindgen#840 for Wasmtime.
Currently `with` keys to bindgen only support either mapping resources
or interfaces. Now they additionally support mapping entire packages or
entire namespaces. This can help clean up some references to interfaces
through our own bindings to avoid listing all of them.
@alexcrichton alexcrichton requested a review from a team as a code owner March 12, 2024 04:11
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team March 12, 2024 04:11
@github-actions github-actions bot added wasi Issues pertaining to WASI wasmtime:api Related to the API of the `wasmtime` crate itself labels Mar 12, 2024
Copy link

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasi", "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@fitzgen fitzgen requested review from elliottt and removed request for fitzgen March 12, 2024 11:07
Comment on lines +8 to +9
"wasi:http": bindings::http,
"wasi": wasmtime_wasi::bindings,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so much nicer!

@alexcrichton alexcrichton added this pull request to the merge queue Mar 12, 2024
Merged via the queue into bytecodealliance:main with commit 77b0ae7 Mar 12, 2024
19 checks passed
@alexcrichton alexcrichton deleted the bindgen-with branch March 12, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi Issues pertaining to WASI wasmtime:api Related to the API of the `wasmtime` crate itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants