Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix Windows build (#49665)

John Turc06aab84c0bf
diff --git a/crates/gpui_windows/src/directx_renderer.rs b/crates/gpui_windows/src/directx_renderer.rs
index ae8b54046c8..2955b23429b 100644
--- a/crates/gpui_windows/src/directx_renderer.rs
+++ b/crates/gpui_windows/src/directx_renderer.rs
@@ -1709,7 +1709,7 @@ pub(crate) mod shader_resources {
let mut compile_blob = None;
let mut error_blob = None;
let shader_path = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
- .join(&format!("src/platform/windows/{}", shader_name))
+ .join(&format!("src/{}", shader_name))
.canonicalize()?;
let entry_point = PCSTR::from_raw(entry.as_ptr());
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index 260b35b260b..33c95ec742f 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -120,6 +120,7 @@ go_to_line.workspace = true
system_specs.workspace = true
gpui = { workspace = true, features = [
"wayland",
+ "windows-manifest",
"x11",
] }
gpui_platform = {workspace = true, features=["screen-capture", "font-kit", "wayland", "x11"]}