Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Upgrade Tree-sitter to handle high memory usage and memory errors in wasm parsers (#9518)
Max Brunsfeld963618a4a6cb
diff --git a/Cargo.lock b/Cargo.lockindex f8cf306a642..a6b98d0dac8 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1860,10 +1860,11 @@ dependencies = [[[package]]name = "cc"-version = "1.0.88"+version = "1.0.90"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "02f341c093d19155a6e41631ce5971aac4e9a868262212153124c15fa22d1cdc"+checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"dependencies = [+ "jobserver","libc",]@@ -5025,6 +5026,15 @@ version = "0.3.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"+[[package]]+name = "jobserver"+version = "0.1.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6"+dependencies = [+ "libc",+]+[[package]]name = "journal"version = "0.1.0"@@ -10237,7 +10247,7 @@ dependencies = [[[package]]name = "tree-sitter"version = "0.20.100"-source = "git+https://github.com/tree-sitter/tree-sitter?rev=e4a23971ec3071a09c1e84816954c98f96e98e52#e4a23971ec3071a09c1e84816954c98f96e98e52"+source = "git+https://github.com/tree-sitter/tree-sitter?rev=4294e59279205f503eb14348dd5128bd5910c8fb#4294e59279205f503eb14348dd5128bd5910c8fb"dependencies = ["cc","regex",diff --git a/Cargo.toml b/Cargo.tomlindex 8a561a42ddc..77a514ea073 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -367,7 +367,7 @@ features = [][patch.crates-io]-tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "e4a23971ec3071a09c1e84816954c98f96e98e52" }+tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "4294e59279205f503eb14348dd5128bd5910c8fb" }# Workaround for a broken nightly build of gpui: See #7644 and revisit once 0.5.3 is released.pathfinder_simd = { git = "https://github.com/servo/pathfinder.git", rev = "30419d07660dc11a21e42ef4a7fa329600cff152" }