Skip to content

Commit

Permalink
Update to wit-bindgen 0.37.
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
sunfishcode committed Jan 10, 2025
1 parent e3328ef commit 410f9c2
Show file tree
Hide file tree
Showing 5 changed files with 2,929 additions and 2,702 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ wasi = { version = "0.13", path = ".", default-features = false }
members = ["./crates/*"]

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

# When built as part of libstd
compiler_builtins = { version = "0.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion ci/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -ex
generate() {
file="$1"
shift
wit-bindgen rust wit --out-dir src --std-feature "$@" --format \
wit-bindgen rust wit --async none --out-dir src --std-feature "$@" --format \
--runtime-path wit_bindgen_rt
}

Expand Down
Loading

0 comments on commit 410f9c2

Please sign in to comment.