Stream: git-wasmtime

Topic: wasmtime / PR #11947 Use `.` instead of `/` for interface...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 15:55):

sunfishcode opened PR #11947 from sunfishcode:sunfishcode/names to bytecodealliance:main:

In the wasmtime::component::generate macro, change the syntax for referencing functions and types inside interfaces to use . instead of /.

For example, this changes strings like
wasi:http/types/outgoing-body
to
wasi:http/types.outgoing-body
.

This makes the syntax more consistent with the syntax of [WIT use statements], which use . for this purpose.

And, it avoids an incompatibility with the future nested namespaces syntax ([:nest_with_eggs:]), where the /d in a:b/c/d is for traversing a component export rather than an interface member.

[WIT use statements]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#wit-packages-and-use
[:nest_with_eggs:]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md#gated-features

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 15:55):

sunfishcode requested wasmtime-wasi-reviewers for a review on PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 15:55):

sunfishcode requested pchickey for a review on PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 15:55):

sunfishcode requested wasmtime-core-reviewers for a review on PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 16:27):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 17:29):

sunfishcode updated PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 17:34):

sunfishcode updated PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 17:35):

sunfishcode updated PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 17:42):

sunfishcode updated PR #11947.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 19:45):

github-actions[bot] commented on PR #11947:

Label Messager: wasmtime:config

It looks like you are changing Wasmtime's configuration options. Make sure to
complete this check list:

[fuzzing-config]: https://github.com/bytecodealliance/wasmtime/blob/ca0e8d0a1d8cefc0496dba2f77a670571d8fdcab/crates/fuzzing/src/generators.rs#L182-L194
[fuzzing-docs]: https://docs.wasmtime.dev/contributing-fuzzing.html


<details>

To modify this label's message, edit the <code>.github/label-messager/wasmtime-config.md</code> file.

To add new label messages or remove existing label messages, edit the
<code>.github/label-messager.json</code> configuration file.

Learn more.

</details>

view this post on Zulip Wasmtime GitHub notifications bot (Oct 27 2025 at 21:56):

alexcrichton merged PR #11947.


Last updated: Dec 06 2025 at 06:05 UTC