diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b944a0d..71aaf87 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,4 +11,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: WebAssembly/wit-abi-up-to-date@v17 + - uses: WebAssembly/wit-abi-up-to-date@v19 diff --git a/imports.md b/imports.md index 8c60710..8dd7e2b 100644 --- a/imports.md +++ b/imports.md @@ -7,23 +7,35 @@ -
type example-dep-type
type example-dep-type
u32
-## Import interface wasi:example-package/example-interface +## Import interface wasi:example-package/example-interface +
Instructions for filling in this file:
+Delete all these //
comments, up to the first ///
comment.
Replace the remaining contents below with Wit code describing
+interface
s and/or world
s, using the same formatting style.
If you want to include examples of the API in use, these should be in the +README.md at the root of the repository and linked to from this file.
Short interface description.
Explanation for developers using the interface API. It should include an
overview of the API as a whole as well as call out notable items in it,
for example example-api-type
and example-api-function
.
type example-dep-type
type example-dep-type
-#### `record example-api-type` +#### `record example-api-type`
Short type description
Explanation for developers using this type. It may be useful to give some examples of places in the API where the type is used, such as in @@ -38,17 +50,17 @@ of precise behavior here.
example-api-function: func
example-api-function: func
Short function description
Explanation for developers using the API. This should describe the
arguments which in this function are arg0
, arg1
, and arg2
, and the
@@ -62,9 +74,9 @@ later call, for example.
arg0
: example-api-type
arg1
: string
arg2
: example-dep-type
arg0
: example-api-type
arg1
: string
arg2
: example-dep-type