Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui_web: Point wasm_thread at a fork that fixes the wasm-bindgen init call (#61807)
Piotr Osiewicz424a68244aa9
diff --git a/Cargo.lock b/Cargo.lockindex 6a9ecdf8f9e..00c4a0d9bbd 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -20615,8 +20615,7 @@ dependencies = [[[package]]name = "wasm_thread"version = "0.3.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b7516db7f32decdadb1c3b8deb1b7d78b9df7606c5cc2f6241737c2ab3a0258e"+source = "git+https://github.com/zed-industries/wasm_thread?rev=0cf96c7708dfb97ccf3da50347e25edcf75d6937#0cf96c7708dfb97ccf3da50347e25edcf75d6937"dependencies = ["futures 0.3.32","js-sys",diff --git a/crates/gpui_web/Cargo.toml b/crates/gpui_web/Cargo.tomlindex a29ca340607..eee71bafec7 100644--- a/crates/gpui_web/Cargo.toml+++ b/crates/gpui_web/Cargo.toml@@ -31,7 +31,11 @@ web-time.workspace = trueconsole_error_panic_hook.workspace = truejs-sys.workspace = trueraw-window-handle.workspace = true-wasm_thread = { version = "0.3", features = ["es_modules"], optional = true }+# Forked because upstream is unmaintained and its worker bootstrap still calls+# the wasm-bindgen init function with the positional arguments deprecated in 0.2.93.+wasm_thread = { git = "https://github.com/zed-industries/wasm_thread", rev = "0cf96c7708dfb97ccf3da50347e25edcf75d6937", version = "0.3", features = [+ "es_modules",+], optional = true }web-sys = { version = "0.3", features = ["console","Clipboard",