# Upgrade Tree-sitter and Wasmtime, compile Cranelift with optimizations in debug builds \(\#8452\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8536ba54c3e3f34895884dcbdf0adb1359ef2717)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8536ba54c3e3f34895884dcbdf0adb1359ef2717

Requested commit: 8536ba54c3e3f34895884dcbdf0adb1359ef2717

Commit: 8536ba54c3e3f34895884dcbdf0adb1359ef2717

Tree: 3e36f439ecc622b44162eb398323bf9c1f6b47df

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Upgrade Tree-sitter and Wasmtime, compile Cranelift with optimizations in debug builds (#8452)

After upgrading to Wasmtime 18, we got crashes when running Zed in debug
mode. While bisecting the Wasmtime commits and trying to identify the
source of the crash, we noticed this Wasmtime PR, which increased the
stack size of background threads in an example. This alerted us to the
possibility that a stack overflow might be happening due to a lot of
stack usage by cranelift.

https://github.com/bytecodealliance/wasmtime/pull/7651

Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>
```

## Parents

- [a0c8debd35a81f6f97c7a3168c7af4cdce4b803b](https://git.cafe/gitcafe/zed/commit/a0c8debd35a81f6f97c7a3168c7af4cdce4b803b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8536ba54c3e3f34895884dcbdf0adb1359ef2717?format=markdown)
