Skip to content

Fix <interfacename> grammar to match <pkgpath>#630

Merged
lukewagner merged 1 commit intomainfrom
fix-pkg-name
Apr 6, 2026
Merged

Fix <interfacename> grammar to match <pkgpath>#630
lukewagner merged 1 commit intomainfrom
fix-pkg-name

Conversation

@lukewagner
Copy link
Copy Markdown
Member

As pointed out in #628, this fixes a discrepancy between interfacename and pkgname. There's already a test/names/kebab.wast that matches this change and the wasm-tools implementation.

LFsWang added a commit to LFsWang/WasmEdge that referenced this pull request Apr 2, 2026
The spec updated interfacename grammar from <label> to <words>,
confirming that package names must be lowercase-only kebab-case.

Refs: WebAssembly/component-model#630

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: LFsWang <tnst92002@gmail.com>
LFsWang added a commit to LFsWang/WasmEdge that referenced this pull request Apr 2, 2026
The spec updated interfacename grammar from <label> to <words>,
confirming that package names must be lowercase-only kebab-case.

Refs: WebAssembly/component-model#630

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: LFsWang <tnst92002@gmail.com>
hydai pushed a commit to WasmEdge/WasmEdge that referenced this pull request Apr 3, 2026
The spec updated interfacename grammar from <label> to <words>,
confirming that package names must be lowercase-only kebab-case.

Refs: WebAssembly/component-model#630

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: LFsWang <tnst92002@gmail.com>
@lukewagner lukewagner merged commit 02ae476 into main Apr 6, 2026
2 checks passed
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.

2 participants