Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Fix web examples build (#59470)
Xiaobo Liu9a992ed33c14
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.tomlindex 1e20e893bf9..87cc3e3630c 100644--- a/crates/gpui/Cargo.toml+++ b/crates/gpui/Cargo.toml@@ -157,13 +157,13 @@ env_logger.workspace = truegpui_platform = { workspace = true, features = ["font-kit", "wayland", "x11"] }gpui_util = { workspace = true }lyon = { version = "1.0", features = ["extra"] }-proptest = { workspace = true }rand.workspace = truescheduler = { workspace = true, features = ["test-support"] }unicode-segmentation = { workspace = true }[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]http_client = { workspace = true, features = ["test-support"] }+proptest = { workspace = true }reqwest_client = { workspace = true, features = ["test-support"] }[target.'cfg(target_family = "wasm")'.dev-dependencies]diff --git a/crates/gpui/examples/a11y.rs b/crates/gpui/examples/a11y.rsindex c406f4d85cd..6e37354ae88 100644--- a/crates/gpui/examples/a11y.rs+++ b/crates/gpui/examples/a11y.rs@@ -1,3 +1,5 @@+#![cfg_attr(target_family = "wasm", no_main)]+//! Accessibility (AccessKit) demo app.//!//! Run with: `cargo run -p gpui --example a11y`