Skip to content

Commit

Permalink
add instructions to make-bindings.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Dice <[email protected]>
  • Loading branch information
dicej committed Dec 12, 2023
1 parent 5112461 commit fc38c7a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions make-bindings.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit fc38c7a

Please sign in to comment.