Files
zed/crates
Marshall Bowers d755d29577 extension: Upgrade wasmtime to v21 (#15210)
This PR upgrades the version of `wasmtime` and `wasmtime-wasi` in use to
v21.0.1.

We have to skip v20 because Tree-sitter also skipped it.

Here are the changes that had to be made:

### v19 -> v20

After upgrading the `wasmtime` packages to v20, I also had to run `cargo
update -p mach2` to pull in
[v0.4.2](https://github.com/JohnTitor/mach2/releases/tag/0.4.2) to fix
some compile errors.

There were a few minor API changes in `wasmtime-wasi` from
https://github.com/bytecodealliance/wasmtime/pull/8228 that we needed to
account for.

### v20 -> v21

Since there isn't a Tree-sitter version that depends on `wasmtime@v20`,
we're jumping straight to v21.

The published version of Tree-sitter (v0.22.6) still depends on
`wasmtime@v19`, but there was a commit
(7f4a57817d)
later that month that upgrades the `wasmtime` dependency to v21.

We're patching Tree-sitter to that commit so we can get the new
`wasmtime` version.

The main change in v21 is that imports generated by `bindgen!` are no
longer automatically trapped
(https://github.com/bytecodealliance/wasmtime/pull/8310), so we need to
add `trappable_imports: true` to our `bindgen!` calls.

Release Notes:

- N/A
2024-07-25 13:56:40 -04:00
..
2024-07-23 15:01:05 -07:00
2024-05-29 18:06:45 -07:00
2024-07-23 15:01:05 -07:00
2024-07-23 15:01:05 -07:00
2024-07-23 15:01:05 -07:00
2024-07-23 15:01:05 -07:00
2024-05-29 18:06:45 -07:00
2024-04-30 23:31:59 -06:00
2024-06-12 23:22:52 +03:00
2024-07-23 15:01:05 -07:00
2024-07-23 15:01:05 -07:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-07-23 15:01:05 -07:00
2024-07-25 09:00:53 -06:00
2024-06-21 16:32:32 -07:00
2024-04-15 14:21:52 +02:00
2024-07-25 09:00:53 -06:00
2024-07-23 15:01:05 -07:00