bytecodealliance / bytecodealliance/wit-bindgen
Package namespaces and package names are not generatable in combination
Open
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 286
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 19
Description
Looking at the wit-syntax the following is supported
package-decl ::= 'package' ( id ':' )+ id ( '/' id )* ('@' valid-semver)? ';'
Using it
package com:mydomain/tree/leaf;
interface foo {
record stat {
ino: u64,
size: u64,
}
}
world x {
export foo;
}
Generating fails with
tool@6fddbba60b7a:/workspaces/test_wit# wit-bindgen rust my_interface.wit
Error: expected '{', found `/`
--> my_interface.wit:1:21
|
1 | package com:mydomain/tree/leaf;
| ^
I think this should be supported
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.