You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by:
invalid character in identifier '2'
--> wit/client-experimental-texture.wit:2:5
|
2 | create-2d: func() -> string
| ^', crates/wasm/build.rs:49:58
WIT spec seems to imply that create-2d is a valid identifier:
Identifiers in WIT documents are required to be valid component identifiers, meaning that they're "kebab cased". This currently is restricted to ascii characters and numbers that are - separated.
This is a requirement inhereited from the upstream component model specification (search for "kebab name" there). I think it might be reasonable to update the casing rules to allow this, however. Would you be up for opening an issue on the component model repository for this?
Activity
alexcrichton commentedon May 16, 2023
This is a requirement inhereited from the upstream component model specification (search for "kebab name" there). I think it might be reasonable to update the casing rules to allow this, however. Would you be up for opening an issue on the component model repository for this?
alexcrichton commentedon Nov 9, 2023
I'm going to close this because I believe the question here has been answered and/or moved upstream.