Skip to content

Commit 5ef4228

Browse files
authored
Update to wit-bindgen 0.37. (#101)
This uses `--async none` so there aren't many user-visible changes, however one notable user-visible change is that with bytecodealliance/wit-bindgen#1102, some functions such as `Fields::get` have arguments that change from `&String` to `&str`.
1 parent e3328ef commit 5ef4228

File tree

6 files changed

+2930
-2703
lines changed

6 files changed

+2930
-2703
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272
run: |
7373
./ci/vendor-wit.sh
7474
git diff --exit-code
75-
- run: cargo install wit-bindgen-cli@0.36.0 --locked
75+
- run: cargo install wit-bindgen-cli@0.37.0 --locked
7676
- run: ./ci/regenerate.sh
7777
- run: git diff --exit-code

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ wasi = { version = "0.13", path = ".", default-features = false }
2424
members = ["./crates/*"]
2525

2626
[dependencies]
27-
wit-bindgen-rt = { version = "0.36.0", features = ["bitflags"] }
27+
wit-bindgen-rt = { version = "0.37.0", features = ["bitflags"] }
2828

2929
# When built as part of libstd
3030
compiler_builtins = { version = "0.1", optional = true }

ci/regenerate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55
generate() {
66
file="$1"
77
shift
8-
wit-bindgen rust wit --out-dir src --std-feature "$@" --format \
8+
wit-bindgen rust wit --async none --out-dir src --std-feature "$@" --format \
99
--runtime-path wit_bindgen_rt
1010
}
1111

0 commit comments

Comments
 (0)