From fc38c7af173768039e9bddfdf47d9c65383f9a3e Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 12 Dec 2023 13:45:09 -0700 Subject: [PATCH] add instructions to `make-bindings.sh` Signed-off-by: Joel Dice --- make-bindings.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/make-bindings.sh b/make-bindings.sh index 1801f2fc2..e40483deb 100644 --- a/make-bindings.sh +++ b/make-bindings.sh @@ -1,7 +1,13 @@ #!/bin/bash -# As of this writing, the `wit` directory was copied from -# https://github.com/bytecodealliance/wasmtime/tree/759aa585496adfbe47aefb4fdf9608aabf8d64ac/crates/wasi/wit +# This script will regenerate the WASI Preview 2 bindings. To use it, first +# clone the wit directory from +# https://github.com/bytecodealliance/wasmtime/tree/release-16.0.0/crates/wasi/wit +# (or newer), install +# https://github.com/bytecodealliance/wit-bindgen/releases/tag/wit-bindgen-cli-0.16.0 +# (or newer), and then run the script. +# +# TODO: Automate the above instructions. set -e