Skip to content

Fix crash when loading languages w/ old ABI via wasm#4210

Merged
maxbrunsfeld merged 1 commit intomasterfrom
supertypes-backward-compat-in-wasm
Feb 17, 2025
Merged

Fix crash when loading languages w/ old ABI via wasm#4210
maxbrunsfeld merged 1 commit intomasterfrom
supertypes-backward-compat-in-wasm

Conversation

@maxbrunsfeld
Copy link
Contributor

This fixes a crash introduced in #3938, which would occur when loading languages that were generated with ABI 14 via WASM.

@maxbrunsfeld maxbrunsfeld enabled auto-merge (squash) February 17, 2025 21:56
@maxbrunsfeld maxbrunsfeld merged commit 14b8ead into master Feb 17, 2025
13 checks passed
@maxbrunsfeld maxbrunsfeld deleted the supertypes-backward-compat-in-wasm branch February 17, 2025 21:56
@clason clason added the ci:backport release-0.25 Backport label label Feb 17, 2025
@tree-sitter-ci-bot
Copy link

Successfully created backport PR for release-0.25:

github-actions bot pushed a commit that referenced this pull request Feb 17, 2025
clason pushed a commit that referenced this pull request Feb 17, 2025
maxbrunsfeld added a commit to zed-industries/zed that referenced this pull request Feb 18, 2025
…25054)

Closes #24742
Closes #24632

This PR bumps Tree-sitter to bring in bug fixes:
* tree-sitter/tree-sitter#4218
* tree-sitter/tree-sitter#4213
* tree-sitter/tree-sitter#4210

I've also bumped Wasmtime and wit-bindgen, since the new Tree-sitter
uses a newer wasmtime.

Release Notes:

- Fixed a parsing bug that caused memory leaks and crashes when using
the Ansible extension

---------

Co-authored-by: Anthony <anthony@zed.dev>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants