Skip to content

Commit 7fa46cb

Browse files
Link to core wasm string value
Co-Authored-By: Luke Wagner <mail@lukewagner.name>
1 parent c41fe68 commit 7fa46cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

design/mvp/WIT.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,12 @@ deprecated-gate ::= '@deprecated' '(' version-field ( ',' message-field )? ')'
988988
989989
feature-field ::= 'feature' '=' id
990990
version-field ::= 'version' '=' <valid semver>
991-
message-field ::= 'message' '=' message
991+
message-field ::= 'message' '=' <core:string>
992992
```
993993

994+
In this syntax `<core:string>` refers to core Wasm's [string
995+
value](https://webassembly.github.io/spec/core/text/values.html#text-string).
996+
994997
As part of WIT validation, any item that refers to another gated item must also
995998
be compatibly gated. For example, this is an error:
996999
```wit

0 commit comments

Comments
 (0)