Skip to content

Commit

Permalink
Update to embed-resource 3.0 (fixes build below windows \?\ path)
Browse files Browse the repository at this point in the history
Accd'g to
  #9009 (comment)
the manifest is required
  • Loading branch information
nabijaczleweli committed Nov 9, 2024
1 parent 2fe9cd8 commit 218d9e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/gpui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/gpui/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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();
}
_ => (),
};
Expand Down

0 comments on commit 218d9e3

Please sign in to comment.