Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Bump tree-sitter for fix to wasm loading of grammars w/ reserved words (#52856)
Max Brunsfeld3b6252ca8048
diff --git a/Cargo.lock b/Cargo.lockindex 38dcf369b37..f68704cb6ef 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -111,22 +111,13 @@ dependencies = ["workspace",]-[[package]]-name = "addr2line"-version = "0.24.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"-dependencies = [- "gimli 0.31.1",-]-[[package]]name = "addr2line"version = "0.25.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"dependencies = [- "gimli 0.32.3",+ "gimli",][[package]]@@ -674,7 +665,7 @@ version = "0.5.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b"dependencies = [- "object 0.37.3",+ "object",][[package]]@@ -1821,11 +1812,11 @@ version = "0.3.76"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"dependencies = [- "addr2line 0.25.1",+ "addr2line","cfg-if","libc","miniz_oxide",- "object 0.37.3",+ "object","rustc-demangle","windows-link 0.2.1",]@@ -3818,36 +3809,36 @@ dependencies = [[[package]]name = "cranelift-assembler-x64"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a5023e06632d8f351c2891793ccccfe4aef957954904392434038745fb6f1f68"+checksum = "ba33ddc4e157cb1abe9da6c821e8824f99e56d057c2c22536850e0141f281d61"dependencies = ["cranelift-assembler-x64-meta",][[package]]name = "cranelift-assembler-x64-meta"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b1c4012b4c8c1f6eb05c0a0a540e3e1ee992631af51aa2bbb3e712903ce4fd65"+checksum = "69b23dd6ea360e6fb28a3f3b40b7f126509668f58076a4729b2cfd656f26a0ad"dependencies = ["cranelift-srcgen",][[package]]name = "cranelift-bforest"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4d6d883b4942ef3a7104096b8bc6f2d1a41393f159ac8de12aed27b25d67f895"+checksum = "a9d81afcee8fe27ee2536987df3fadcb2e161af4edb7dbe3ef36838d0ce74382"dependencies = ["cranelift-entity",][[package]]name = "cranelift-bitset"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "db7b2ee9eec6ca8a716d900d5264d678fb2c290c58c46c8da7f94ee268175d17"+checksum = "fb33595f1279fe7af03b28245060e9085caf98b10ed3137461a85796eb83972a"dependencies = ["serde","serde_derive",@@ -3855,9 +3846,9 @@ dependencies = [[[package]]name = "cranelift-codegen"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "aeda0892577afdce1ac2e9a983a55f8c5b87a59334e1f79d8f735a2d7ba4f4b4"+checksum = "0230a6ac0660bfe31eb244cbb43dcd4f2b3c1c4e0addc3e0348c6053ea60272e"dependencies = ["bumpalo","cranelift-assembler-x64",@@ -3868,7 +3859,7 @@ dependencies = ["cranelift-control","cranelift-entity","cranelift-isle",- "gimli 0.31.1",+ "gimli","hashbrown 0.15.5","log","postcard",@@ -3880,40 +3871,42 @@ dependencies = ["sha2","smallvec","target-lexicon 0.13.3",+ "wasmtime-internal-math",][[package]]name = "cranelift-codegen-meta"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e461480d87f920c2787422463313326f67664e68108c14788ba1676f5edfcd15"+checksum = "96d6817fdc15cb8f236fc9d8e610767d3a03327ceca4abff7a14d8e2154c405e"dependencies = ["cranelift-assembler-x64-meta","cranelift-codegen-shared","cranelift-srcgen",+ "heck 0.5.0","pulley-interpreter",][[package]]name = "cranelift-codegen-shared"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "976584d09f200c6c84c4b9ff7af64fc9ad0cb64dffa5780991edd3fe143a30a1"+checksum = "0403796328e9e2e7df2b80191cdbb473fd9ea3889eb45ef5632d0fef168ea032"[[package]]name = "cranelift-control"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "46d43d70f4e17c545aa88dbf4c84d4200755d27c6e3272ebe4de65802fa6a955"+checksum = "188f04092279a3814e0b6235c2f9c2e34028e4beb72da7bfed55cbd184702bcc"dependencies = ["arbitrary",][[package]]name = "cranelift-entity"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d75418674520cb400c8772bfd6e11a62736c78fc1b6e418195696841d1bf91f1"+checksum = "43f5e7391167605d505fe66a337e1a69583b3f34b63d359ffa5a430313c555e8"dependencies = ["cranelift-bitset","serde",@@ -3922,9 +3915,9 @@ dependencies = [[[package]]name = "cranelift-frontend"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3c8b1a91c86687a344f3c52dd6dfb6e50db0dfa7f2e9c7711b060b3623e1fdeb"+checksum = "ea5440792eb2b5ba0a0976df371b9f94031bd853ae56f389de610bca7128a7cb"dependencies = ["cranelift-codegen","log",@@ -3934,15 +3927,15 @@ dependencies = [[[package]]name = "cranelift-isle"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "711baa4e3432d4129295b39ec2b4040cc1b558874ba0a37d08e832e857db7285"+checksum = "1e5c05fab6fce38d729088f3fa1060eaa1ad54eefd473588887205ed2ab2f79e"[[package]]name = "cranelift-native"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "41c83e8666e3bcc5ffeaf6f01f356f0e1f9dcd69ce5511a1efd7ca5722001a3f"+checksum = "9c9a0607a028edf5ba5bba7e7cf5ca1b7f0a030e3ae84dcd401e8b9b05192280"dependencies = ["cranelift-codegen","libc",@@ -3951,9 +3944,9 @@ dependencies = [[[package]]name = "cranelift-srcgen"-version = "0.120.2"+version = "0.123.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "02e3f4d783a55c64266d17dc67d2708852235732a100fc40dd9f1051adc64d7b"+checksum = "cb0f2da72eb2472aaac6cfba4e785af42b1f2d82f5155f30c9c30e8cce351e17"[[package]]name = "crash-context"@@ -7054,21 +7047,15 @@ dependencies = [[[package]]name = "gimli"-version = "0.31.1"+version = "0.32.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"+checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"dependencies = ["fallible-iterator","indexmap","stable_deref_trait",]-[[package]]-name = "gimli"-version = "0.32.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"-[[package]]name = "gio-sys"version = "0.21.5"@@ -11361,9 +11348,9 @@ dependencies = [[[package]]name = "object"-version = "0.36.7"+version = "0.37.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"+checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"dependencies = ["crc32fast","hashbrown 0.15.5",@@ -11371,15 +11358,6 @@ dependencies = ["memchr",]-[[package]]-name = "object"-version = "0.37.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"-dependencies = [- "memchr",-]-[[package]]name = "ollama"version = "0.1.0"@@ -13518,13 +13496,25 @@ checksum = "bd348ff538bc9caeda7ee8cad2d1d48236a1f443c1fa3913c6a02fe0043b1dd3"[[package]]name = "pulley-interpreter"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "986beaef947a51d17b42b0ea18ceaa88450d35b6994737065ed505c39172db71"+checksum = "499d922aa0f9faac8d92351416664f1b7acd914008a90fce2f0516d31efddf67"dependencies = ["cranelift-bitset","log",- "wasmtime-math",+ "pulley-macros",+ "wasmtime-internal-math",+]++[[package]]+name = "pulley-macros"+version = "36.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a3848fb193d6dffca43a21f24ca9492f22aab88af1223d06bac7f8a0ef405b81"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.117",][[package]]@@ -16194,12 +16184,6 @@ dependencies = ["der 0.7.10",]-[[package]]-name = "sptr"-version = "0.3.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a"-[[package]]name = "sqlez"version = "0.1.0"@@ -18242,17 +18226,6 @@ dependencies = ["windows-targets 0.52.6",]-[[package]]-name = "trait-variant"-version = "0.1.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "70977707304198400eb4835a78f6a9f928bf41bba420deb8fdb175cd965d77a7"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.117",-]-[[package]]name = "transpose"version = "0.2.3"@@ -18265,9 +18238,9 @@ dependencies = [[[package]]name = "tree-sitter"-version = "0.26.3"+version = "0.26.8"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "974d205cc395652cfa8b37daa053fe56eebd429acf8dc055503fee648dae981e"+checksum = "887bd495d0582c5e3e0d8ece2233666169fa56a9644d172fc22ad179ab2d0538"dependencies = ["cc","regex",@@ -19360,12 +19333,12 @@ dependencies = [[[package]]name = "wasm-encoder"-version = "0.229.0"+version = "0.236.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "38ba1d491ecacb085a2552025c10a675a6fddcbd03b1fc9b36c536010ce265d2"+checksum = "724fccfd4f3c24b7e589d333fc0429c68042897a7e8a5f8694f31792471841e7"dependencies = ["leb128fmt",- "wasmparser 0.229.0",+ "wasmparser 0.236.1",][[package]]@@ -19488,9 +19461,9 @@ dependencies = [[[package]]name = "wasmparser"-version = "0.229.0"+version = "0.236.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0cc3b1f053f5d41aa55640a1fa9b6d1b8a9e4418d118ce308d20e24ff3575a8c"+checksum = "a9b1e81f3eb254cf7404a82cee6926a4a3ccc5aad80cc3d43608a070c67aa1d7"dependencies = ["bitflags 2.10.0","hashbrown 0.15.5",@@ -19513,22 +19486,22 @@ dependencies = [[[package]]name = "wasmprinter"-version = "0.229.0"+version = "0.236.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d25dac01892684a99b8fbfaf670eb6b56edea8a096438c75392daeb83156ae2e"+checksum = "2df225df06a6df15b46e3f73ca066ff92c2e023670969f7d50ce7d5e695abbb1"dependencies = ["anyhow","termcolor",- "wasmparser 0.229.0",+ "wasmparser 0.236.1",][[package]]name = "wasmtime"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "57373e1d8699662fb791270ac5dfac9da5c14f618ecf940cdb29dc3ad9472a3c"+checksum = "6a2f8736ddc86e03a9d0e4c477a37939cfc53cd1b052ee38a3133679b87ef830"dependencies = [- "addr2line 0.24.2",+ "addr2line","anyhow","async-trait","bitflags 2.10.0",@@ -19542,10 +19515,9 @@ dependencies = ["log","mach2 0.4.3","memfd",- "object 0.36.7",+ "object","once_cell","postcard",- "psm","pulley-interpreter","rayon","rustix 1.1.2",@@ -19553,82 +19525,109 @@ dependencies = ["serde","serde_derive","smallvec",- "sptr","target-lexicon 0.13.3",- "trait-variant",- "wasmparser 0.229.0",- "wasmtime-asm-macros",- "wasmtime-component-macro",- "wasmtime-component-util",- "wasmtime-cranelift",+ "wasmparser 0.236.1","wasmtime-environ",- "wasmtime-fiber",- "wasmtime-jit-icache-coherence",- "wasmtime-math",- "wasmtime-slab",- "wasmtime-versioned-export-macros",- "wasmtime-winch",- "windows-sys 0.59.0",+ "wasmtime-internal-asm-macros",+ "wasmtime-internal-component-macro",+ "wasmtime-internal-component-util",+ "wasmtime-internal-cranelift",+ "wasmtime-internal-fiber",+ "wasmtime-internal-jit-debug",+ "wasmtime-internal-jit-icache-coherence",+ "wasmtime-internal-math",+ "wasmtime-internal-slab",+ "wasmtime-internal-unwinder",+ "wasmtime-internal-versioned-export-macros",+ "wasmtime-internal-winch",+ "windows-sys 0.60.2",][[package]]-name = "wasmtime-asm-macros"-version = "33.0.2"+name = "wasmtime-c-api-impl"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "bd0fc91372865167a695dc98d0d6771799a388a7541d3f34e939d0539d6583de"+checksum = "f3c62ea3fa30e6b0cf61116b3035121b8f515c60ac118ebfdab2ee56d028ed1e"dependencies = [- "cfg-if",+ "anyhow",+ "log",+ "tracing",+ "wasmtime",+ "wasmtime-internal-c-api-macros",][[package]]-name = "wasmtime-c-api-impl"-version = "33.0.2"+name = "wasmtime-environ"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "46db556f1dccdd88e0672bd407162ab0036b72e5eccb0f4398d8251cba32dba1"+checksum = "733682a327755c77153ac7455b1ba8f2db4d9946c1738f8002fe1fbda1d52e83"dependencies = ["anyhow",+ "cpp_demangle",+ "cranelift-bitset",+ "cranelift-entity",+ "gimli",+ "indexmap","log",- "tracing",- "wasmtime",- "wasmtime-c-api-macros",+ "object",+ "postcard",+ "rustc-demangle",+ "semver",+ "serde",+ "serde_derive",+ "smallvec",+ "target-lexicon 0.13.3",+ "wasm-encoder 0.236.1",+ "wasmparser 0.236.1",+ "wasmprinter",+ "wasmtime-internal-component-util",+]++[[package]]+name = "wasmtime-internal-asm-macros"+version = "36.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68288980a2e02bcb368d436da32565897033ea21918007e3f2bae18843326cf9"+dependencies = [+ "cfg-if",][[package]]-name = "wasmtime-c-api-macros"-version = "33.0.2"+name = "wasmtime-internal-c-api-macros"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "315cc6bc8cdc66f296accb26d7625ae64c1c7b6da6f189e8a72ce6594bf7bd36"+checksum = "3c8c61294155a6d23c202f08cf7a2f9392a866edd50517508208818be626ce9f"dependencies = ["proc-macro2","quote",][[package]]-name = "wasmtime-component-macro"-version = "33.0.2"+name = "wasmtime-internal-component-macro"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "25c9c7526675ff9a9794b115023c4af5128e3eb21389bfc3dc1fd344d549258f"+checksum = "5dea846da68f8e776c8a43bde3386022d7bb74e713b9654f7c0196e5ff2e4684"dependencies = ["anyhow","proc-macro2","quote","syn 2.0.117",- "wasmtime-component-util",- "wasmtime-wit-bindgen",- "wit-parser 0.229.0",+ "wasmtime-internal-component-util",+ "wasmtime-internal-wit-bindgen",+ "wit-parser 0.236.1",][[package]]-name = "wasmtime-component-util"-version = "33.0.2"+name = "wasmtime-internal-component-util"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cc42ec8b078875804908d797cb4950fec781d9add9684c9026487fd8eb3f6291"+checksum = "fe1e5735b3c8251510d2a55311562772d6c6fca9438a3d0329eb6e38af4957d6"[[package]]-name = "wasmtime-cranelift"-version = "33.0.2"+name = "wasmtime-internal-cranelift"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b2bd72f0a6a0ffcc6a184ec86ac35c174e48ea0e97bbae277c8f15f8bf77a566"+checksum = "e89bb9ef571288e2be6b8a3c4763acc56c348dcd517500b1679d3ffad9e4a757"dependencies = ["anyhow","cfg-if",@@ -19637,104 +19636,132 @@ dependencies = ["cranelift-entity","cranelift-frontend","cranelift-native",- "gimli 0.31.1",+ "gimli","itertools 0.14.0","log",- "object 0.36.7",+ "object","pulley-interpreter","smallvec","target-lexicon 0.13.3","thiserror 2.0.17",- "wasmparser 0.229.0",+ "wasmparser 0.236.1","wasmtime-environ",- "wasmtime-versioned-export-macros",+ "wasmtime-internal-math",+ "wasmtime-internal-versioned-export-macros",][[package]]-name = "wasmtime-environ"-version = "33.0.2"+name = "wasmtime-internal-fiber"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e6187bb108a23eb25d2a92aa65d6c89fb5ed53433a319038a2558567f3011ff2"+checksum = "b698d004b15ea1f1ae2d06e5e8b80080cbd684fd245220ce2fac3cdd5ecf87f2"dependencies = ["anyhow",- "cpp_demangle",- "cranelift-bitset",- "cranelift-entity",- "gimli 0.31.1",- "indexmap",- "log",- "object 0.36.7",- "postcard",- "rustc-demangle",- "semver",- "serde",- "serde_derive",- "smallvec",- "target-lexicon 0.13.3",- "wasm-encoder 0.229.0",- "wasmparser 0.229.0",- "wasmprinter",- "wasmtime-component-util",+ "cc",+ "cfg-if",+ "libc",+ "rustix 1.1.2",+ "wasmtime-internal-asm-macros",+ "wasmtime-internal-versioned-export-macros",+ "windows-sys 0.60.2",][[package]]-name = "wasmtime-fiber"-version = "33.0.2"+name = "wasmtime-internal-jit-debug"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dc8965d2128c012329f390e24b8b2758dd93d01bf67e1a1a0dd3d8fd72f56873"+checksum = "c803a9fec05c3d7fa03474d4595079d546e77a3c71c1d09b21f74152e2165c17"dependencies = [- "anyhow","cc",- "cfg-if",- "rustix 1.1.2",- "wasmtime-asm-macros",- "wasmtime-versioned-export-macros",- "windows-sys 0.59.0",+ "wasmtime-internal-versioned-export-macros",][[package]]-name = "wasmtime-jit-icache-coherence"-version = "33.0.2"+name = "wasmtime-internal-jit-icache-coherence"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7af0e940cb062a45c0b3f01a926f77da5947149e99beb4e3dd9846d5b8f11619"+checksum = "d3866909d37f7929d902e6011847748147e8734e9d7e0353e78fb8b98f586aee"dependencies = ["anyhow","cfg-if","libc",- "windows-sys 0.59.0",+ "windows-sys 0.60.2",][[package]]-name = "wasmtime-math"-version = "33.0.2"+name = "wasmtime-internal-math"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "acfca360e719dda9a27e26944f2754ff2fd5bad88e21919c42c5a5f38ddd93cb"+checksum = "5a23b03fb14c64bd0dfcaa4653101f94ade76c34a3027ed2d6b373267536e45b"dependencies = ["libm",][[package]]-name = "wasmtime-slab"-version = "33.0.2"+name = "wasmtime-internal-slab"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "48e240559cada55c4b24af979d5f6c95e0029f5772f32027ec3c62b258aaff65"+checksum = "fbff220b88cdb990d34a20b13344e5da2e7b99959a5b1666106bec94b58d6364"[[package]]-name = "wasmtime-versioned-export-macros"-version = "33.0.2"+name = "wasmtime-internal-unwinder"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d0963c1438357a3d8c0efe152b4ef5259846c1cf8b864340270744fe5b3bae5e"+checksum = "13e1ad30e88988b20c0d1c56ea4b4fbc01a8c614653cbf12ca50c0dcc695e2f7"+dependencies = [+ "anyhow",+ "cfg-if",+ "cranelift-codegen",+ "log",+ "object",+]++[[package]]+name = "wasmtime-internal-versioned-export-macros"+version = "36.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "549aefdaa1398c2fcfbf69a7b882956bb5b6e8e5b600844ecb91a3b5bf658ca7"dependencies = ["proc-macro2","quote","syn 2.0.117",]+[[package]]+name = "wasmtime-internal-winch"+version = "36.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5cc96a84c5700171aeecf96fa9a9ab234f333f5afb295dabf3f8a812b70fe832"+dependencies = [+ "anyhow",+ "cranelift-codegen",+ "gimli",+ "object",+ "target-lexicon 0.13.3",+ "wasmparser 0.236.1",+ "wasmtime-environ",+ "wasmtime-internal-cranelift",+ "winch-codegen",+]++[[package]]+name = "wasmtime-internal-wit-bindgen"+version = "36.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c28dc9efea511598c88564ac1974e0825c07d9c0de902dbf68f227431cd4ff8c"+dependencies = [+ "anyhow",+ "bitflags 2.10.0",+ "heck 0.5.0",+ "indexmap",+ "wit-parser 0.236.1",+]+[[package]]name = "wasmtime-wasi"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4ae951b72c7c6749a1c15dcdfb6d940a2614c932b4a54f474636e78e2c744b4c"+checksum = "c3c2e99fbaa0c26b4680e0c9af07e3f7b25f5fbc1ad97dd34067980bd027d3e5"dependencies = ["anyhow","async-trait",@@ -19758,14 +19785,14 @@ dependencies = ["wasmtime","wasmtime-wasi-io","wiggle",- "windows-sys 0.59.0",+ "windows-sys 0.60.2",][[package]]name = "wasmtime-wasi-io"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a835790dcecc3d7051ec67da52ba9e04af25e1bc204275b9391e3f0042b10797"+checksum = "de2dc367052562c228ce51ee4426330840433c29c0ea3349eca5ddeb475ecdb9"dependencies = ["anyhow","async-trait",@@ -19774,35 +19801,6 @@ dependencies = ["wasmtime",]-[[package]]-name = "wasmtime-winch"-version = "33.0.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cbc3b117d03d6eeabfa005a880c5c22c06503bb8820f3aa2e30f0e8d87b6752f"-dependencies = [- "anyhow",- "cranelift-codegen",- "gimli 0.31.1",- "object 0.36.7",- "target-lexicon 0.13.3",- "wasmparser 0.229.0",- "wasmtime-cranelift",- "wasmtime-environ",- "winch-codegen",-]--[[package]]-name = "wasmtime-wit-bindgen"-version = "33.0.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1382f4f09390eab0d75d4994d0c3b0f6279f86a571807ec67a8253c87cf6a145"-dependencies = [- "anyhow",- "heck 0.5.0",- "indexmap",- "wit-parser 0.229.0",-]-[[package]]name = "wast"version = "35.0.2"@@ -20257,9 +20255,9 @@ dependencies = [[[package]]name = "wiggle"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "649c1aca13ef9e9dccf2d5efbbebf12025bc5521c3fb7754355ef60f5eb810be"+checksum = "c13d1ae265bd6e5e608827d2535665453cae5cb64950de66e2d5767d3e32c43a"dependencies = ["anyhow","async-trait",@@ -20272,9 +20270,9 @@ dependencies = [[[package]]name = "wiggle-generate"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "164870fc34214ee42bd81b8ce9e7c179800fa1a7d4046d17a84e7f7bf422c8ad"+checksum = "607c4966f6b30da20d24560220137cbd09df722f0558eac81c05624700af5e05"dependencies = ["anyhow","heck 0.5.0",@@ -20286,9 +20284,9 @@ dependencies = [[[package]]name = "wiggle-macro"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d873bb5b59ca703b5e41562e96a4796d1af61bf4cf80bf8a7abda755a380ec1c"+checksum = "fc36e39412fa35f7cc86b3705dbe154168721dd3e71f6dc4a726b266d5c60c55"dependencies = ["proc-macro2","quote",@@ -20329,21 +20327,22 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"[[package]]name = "winch-codegen"-version = "33.0.2"+version = "36.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7914c296fbcef59d1b89a15e82384d34dc9669bc09763f2ef068a28dd3a64ebf"+checksum = "06c0ec09e8eb5e850e432da6271ed8c4a9d459a9db3850c38e98a3ee9d015e79"dependencies = ["anyhow","cranelift-assembler-x64","cranelift-codegen",- "gimli 0.31.1",+ "gimli","regalloc2","smallvec","target-lexicon 0.13.3","thiserror 2.0.17",- "wasmparser 0.229.0",- "wasmtime-cranelift",+ "wasmparser 0.236.1","wasmtime-environ",+ "wasmtime-internal-cranelift",+ "wasmtime-internal-math",][[package]]@@ -21369,9 +21368,9 @@ dependencies = [[[package]]name = "wit-parser"-version = "0.229.0"+version = "0.236.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "459c6ba62bf511d6b5f2a845a2a736822e38059c1cfa0b644b467bbbfae4efa6"+checksum = "16e4833a20cd6e85d6abfea0e63a399472d6f88c6262957c17f546879a80ba15"dependencies = ["anyhow","id-arena",@@ -21382,7 +21381,7 @@ dependencies = ["serde_derive","serde_json","unicode-xid",- "wasmparser 0.229.0",+ "wasmparser 0.236.1",][[package]]diff --git a/Cargo.toml b/Cargo.tomlindex 6c8f2a78a40..d1271e01666 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -732,7 +732,7 @@ toml_edit = { version = "0.22", default-features = false, features = ["serde",] }tower-http = "0.4.4"-tree-sitter = { version = "0.26", features = ["wasm"] }+tree-sitter = { version = "0.26.8", features = ["wasm"] }tree-sitter-bash = "0.25.1"tree-sitter-c = "0.24.1"tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }@@ -767,7 +767,7 @@ uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }walkdir = "2.5"wasm-encoder = "0.221"wasmparser = "0.221"-wasmtime = { version = "33", default-features = false, features = [+wasmtime = { version = "36", default-features = false, features = ["async","demangle","runtime",@@ -776,7 +776,7 @@ wasmtime = { version = "33", default-features = false, features = ["incremental-cache","parallel-compilation",] }-wasmtime-wasi = "33"+wasmtime-wasi = "36"wax = "0.7"which = "6.0.0"wasm-bindgen = "0.2.113"diff --git a/crates/extension_host/src/wasm_host.rs b/crates/extension_host/src/wasm_host.rsindex 286639cdd67..87a2032e831 100644--- a/crates/extension_host/src/wasm_host.rs+++ b/crates/extension_host/src/wasm_host.rs@@ -42,7 +42,7 @@ use wasmtime::{CacheStore, Engine, Store,component::{Component, ResourceTable},};-use wasmtime_wasi::p2::{self as wasi, IoView as _};+use wasmtime_wasi::{WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};use wit::Extension;pub struct WasmHost {@@ -93,7 +93,7 @@ impl extension::Extension for WasmExtension {) -> Result<Command> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let command = extension.call_language_server_command(store,@@ -119,7 +119,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let options = extension.call_language_server_initialization_options(store,@@ -143,7 +143,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let options = extension.call_language_server_workspace_configuration(store,@@ -166,7 +166,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;extension.call_language_server_initialization_options_schema(store,@@ -187,7 +187,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;extension.call_language_server_workspace_configuration_schema(store,@@ -209,7 +209,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let options = extension.call_language_server_additional_initialization_options(store,@@ -234,7 +234,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<String>> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let options = extension.call_language_server_additional_workspace_configuration(store,@@ -331,7 +331,7 @@ impl extension::Extension for WasmExtension {self.call(|extension, store| {async move {let resource = if let Some(delegate) = delegate {- Some(store.data_mut().table().push(delegate)?)+ Some(store.data_mut().table.push(delegate)?)} else {None};@@ -355,7 +355,7 @@ impl extension::Extension for WasmExtension {) -> Result<Command> {self.call(|extension, store| {async move {- let project_resource = store.data_mut().table().push(project)?;+ let project_resource = store.data_mut().table.push(project)?;let command = extension.call_context_server_command(store, context_server_id.clone(), project_resource).await?@@ -374,7 +374,7 @@ impl extension::Extension for WasmExtension {) -> Result<Option<ContextServerConfiguration>> {self.call(|extension, store| {async move {- let project_resource = store.data_mut().table().push(project)?;+ let project_resource = store.data_mut().table.push(project)?;let Some(configuration) = extension.call_context_server_configuration(store,@@ -417,7 +417,7 @@ impl extension::Extension for WasmExtension {) -> Result<()> {self.call(|extension, store| {async move {- let kv_store_resource = store.data_mut().table().push(kv_store)?;+ let kv_store_resource = store.data_mut().table.push(kv_store)?;extension.call_index_docs(store,@@ -444,7 +444,7 @@ impl extension::Extension for WasmExtension {) -> Result<DebugAdapterBinary> {self.call(|extension, store| {async move {- let resource = store.data_mut().table().push(worktree)?;+ let resource = store.data_mut().table.push(worktree)?;let dap_binary = extension.call_get_dap_binary(store, dap_name, config, user_installed_path, resource).await?@@ -532,7 +532,7 @@ impl extension::Extension for WasmExtension {pub struct WasmState {manifest: Arc<ExtensionManifest>,pub table: ResourceTable,- ctx: wasi::WasiCtx,+ ctx: WasiCtx,pub host: Arc<WasmHost>,pub(crate) capability_granter: CapabilityGranter,}@@ -726,7 +726,7 @@ impl WasmHost {})}- async fn build_wasi_ctx(&self, manifest: &Arc<ExtensionManifest>) -> Result<wasi::WasiCtx> {+ async fn build_wasi_ctx(&self, manifest: &Arc<ExtensionManifest>) -> Result<WasiCtx> {let extension_work_dir = self.work_dir.join(manifest.id.as_ref());self.fs.create_dir(&extension_work_dir)@@ -739,7 +739,7 @@ impl WasmHost {#[cfg(target_os = "windows")]let path = path.replace('\\', "/");- let mut ctx = wasi::WasiCtxBuilder::new();+ let mut ctx = WasiCtxBuilder::new();ctx.inherit_stdio().env("PWD", &path).env("RUST_BACKTRACE", "full");@@ -947,15 +947,16 @@ impl WasmState {}}-impl wasi::IoView for WasmState {- fn table(&mut self) -> &mut ResourceTable {- &mut self.table- }+impl wasmtime::component::HasData for WasmState {+ type Data<'a> = &'a mut WasmState;}-impl wasi::WasiView for WasmState {- fn ctx(&mut self) -> &mut wasi::WasiCtx {- &mut self.ctx+impl WasiView for WasmState {+ fn ctx(&mut self) -> WasiCtxView<'_> {+ WasiCtxView {+ ctx: &mut self.ctx,+ table: &mut self.table,+ }}}diff --git a/crates/extension_host/src/wasm_host/wit.rs b/crates/extension_host/src/wasm_host/wit.rsindex 9c4d3aa298c..27847422f01 100644--- a/crates/extension_host/src/wasm_host/wit.rs+++ b/crates/extension_host/src/wasm_host/wit.rs@@ -42,18 +42,14 @@ pub use since_v0_0_4::LanguageServerConfig;pub fn new_linker(executor: &BackgroundExecutor,- f: impl Fn(&mut Linker<WasmState>, fn(&mut WasmState) -> &mut WasmState) -> Result<()>,+ f: impl FnOnce(&mut Linker<WasmState>) -> Result<()>,) -> Linker<WasmState> {let mut linker = Linker::new(&wasm_engine(executor));wasmtime_wasi::p2::add_to_linker_async(&mut linker).unwrap();- f(&mut linker, wasi_view).unwrap();+ f(&mut linker).unwrap();linker}-fn wasi_view(state: &mut WasmState) -> &mut WasmState {- state-}-/// Returns whether the given Wasm API version is supported by the Wasm host.pub fn is_supported_wasm_api_version(release_channel: ReleaseChannel, version: Version) -> bool {wasm_api_version_range(release_channel).contains(&version)diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_0_1.rs b/crates/extension_host/src/wasm_host/wit/since_v0_0_1.rsindex fa7539eec9f..c231b7e5d69 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_0_1.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_0_1.rs@@ -12,8 +12,12 @@ use wasmtime::component::{Linker, Resource};pub const MIN_VERSION: Version = Version::new(0, 0, 1);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.0.1",with: {"worktree": ExtensionWorktree,@@ -26,7 +30,11 @@ pub type ExtensionWorktree = Arc<dyn WorktreeDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<DownloadedFileType> for latest::DownloadedFileType {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_0_4.rs b/crates/extension_host/src/wasm_host/wit/since_v0_0_4.rsindex 6d7db749f0c..41d652cec30 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_0_4.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_0_4.rs@@ -10,8 +10,12 @@ use wasmtime::component::{Linker, Resource};pub const MIN_VERSION: Version = Version::new(0, 0, 4);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.0.4",with: {"worktree": ExtensionWorktree,@@ -24,7 +28,11 @@ pub type ExtensionWorktree = Arc<dyn WorktreeDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<DownloadedFileType> for latest::DownloadedFileType {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_0_6.rs b/crates/extension_host/src/wasm_host/wit/since_v0_0_6.rsindex e5ff0322088..e1dfdf8248b 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_0_6.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_0_6.rs@@ -10,8 +10,12 @@ use wasmtime::component::{Linker, Resource};pub const MIN_VERSION: Version = Version::new(0, 0, 6);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.0.6",with: {"worktree": ExtensionWorktree,@@ -31,7 +35,11 @@ pub type ExtensionWorktree = Arc<dyn WorktreeDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<Command> for latest::Command {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_1_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_1_0.rsindex 0caaa86c241..4cd034d4d6a 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_1_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_1_0.rs@@ -26,8 +26,12 @@ use super::{latest, since_v0_6_0};pub const MIN_VERSION: Version = Version::new(0, 1, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.1.0",with: {"worktree": ExtensionWorktree,@@ -52,7 +56,11 @@ pub type ExtensionHttpResponseStream = Arc<Mutex<::http_client::Response<AsyncBopub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<Command> for latest::Command {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_2_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_2_0.rsindex 074cce73c22..691e6d2dd54 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_2_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_2_0.rs@@ -11,8 +11,12 @@ use super::{latest, since_v0_6_0};pub const MIN_VERSION: Version = Version::new(0, 2, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.2.0",with: {"worktree": ExtensionWorktree,@@ -40,7 +44,11 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<Command> for latest::Command {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_3_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_3_0.rsindex 072ad42f2b9..53aa65d5187 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_3_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_3_0.rs@@ -11,8 +11,12 @@ use super::{latest, since_v0_6_0};pub const MIN_VERSION: Version = Version::new(0, 3, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.3.0",with: {"worktree": ExtensionWorktree,@@ -40,7 +44,11 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<CodeLabel> for latest::CodeLabel {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_4_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_4_0.rsindex 4f1d5c6a48c..44b7d7ba1ad 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_4_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_4_0.rs@@ -11,8 +11,12 @@ use super::{latest, since_v0_6_0};pub const MIN_VERSION: Version = Version::new(0, 4, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.4.0",with: {"worktree": ExtensionWorktree,@@ -40,7 +44,11 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<CodeLabel> for latest::CodeLabel {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_5_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_5_0.rsindex 84f73f56775..4dff0d90a94 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_5_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_5_0.rs@@ -11,8 +11,12 @@ use super::{latest, since_v0_6_0};pub const MIN_VERSION: Version = Version::new(0, 5, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.5.0",with: {"worktree": ExtensionWorktree,@@ -41,7 +45,11 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<CodeLabel> for latest::CodeLabel {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_6_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_6_0.rsindex 202bcd6ce95..bc5674b0517 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_6_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_6_0.rs@@ -12,8 +12,12 @@ pub const MIN_VERSION: Version = Version::new(0, 6, 0);pub const MAX_VERSION: Version = Version::new(0, 7, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.6.0",with: {"worktree": ExtensionWorktree,@@ -43,7 +47,11 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;pub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<CodeLabel> for latest::CodeLabel {diff --git a/crates/extension_host/src/wasm_host/wit/since_v0_8_0.rs b/crates/extension_host/src/wasm_host/wit/since_v0_8_0.rsindex 324a572f40c..660ddd9688f 100644--- a/crates/extension_host/src/wasm_host/wit/since_v0_8_0.rs+++ b/crates/extension_host/src/wasm_host/wit/since_v0_8_0.rs@@ -40,8 +40,12 @@ pub const MIN_VERSION: Version = Version::new(0, 8, 0);pub const MAX_VERSION: Version = Version::new(0, 8, 0);wasmtime::component::bindgen!({- async: true,- trappable_imports: true,+ imports: {+ default: async | trappable,+ },+ exports: {+ default: async,+ },path: "../extension_api/wit/since_v0.8.0",with: {"worktree": ExtensionWorktree,@@ -65,7 +69,11 @@ pub type ExtensionHttpResponseStream = Arc<Mutex<::http_client::Response<AsyncBopub fn linker(executor: &BackgroundExecutor) -> &'static Linker<WasmState> {static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();- LINKER.get_or_init(|| super::new_linker(executor, Extension::add_to_linker))+ LINKER.get_or_init(|| {+ super::new_linker(executor, |linker| {+ Extension::add_to_linker::<_, WasmState>(linker, |s| s)+ })+ })}impl From<Range> for std::ops::Range<usize> {