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.

Update to embed-resource 3.0 (fixes build below windows \?\ path) (#21288)

наб74f265e5cfc9
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml
index 347e5502ca3..ed523c769ac 100644
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -119,7 +119,7 @@ http_client = { workspace = true, features = ["test-support"] }
unicode-segmentation.workspace = true
[build-dependencies]
-embed-resource = "2.4"
+embed-resource = "3.0"
[target.'cfg(target_os = "macos")'.build-dependencies]
bindgen = "0.70.0"
diff --git a/crates/gpui/build.rs b/crates/gpui/build.rs
index 5a015106c72..ef29d7cc822 100644
--- a/crates/gpui/build.rs
+++ b/crates/gpui/build.rs
@@ -18,7 +18,9 @@ fn main() {
let rc_file = std::path::Path::new("resources/windows/gpui.rc");
println!("cargo:rerun-if-changed={}", manifest.display());
println!("cargo:rerun-if-changed={}", rc_file.display());
- embed_resource::compile(rc_file, embed_resource::NONE);
+ embed_resource::compile(rc_file, embed_resource::NONE)
+ .manifest_required()
+ .unwrap();
}
_ => (),
};