Fix Windows build (#49665)

Fix regressions from https://github.com/zed-industries/zed/pull/49277:

- The fusion manifest was not being embedded for Zed.exe, making it
non-functional.
- The relative path used to load shaders in debug mode was incorrect.

Release Notes:

- N/A

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
John TurandMarshall Bowers authored and GitHub committed 2026-02-19 19:15:59 -05:00
1 parent 587b3128b6
commit 76d8d97998
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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());
+1
View File
@@ -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"]}