Skip to content

Commit

Permalink
Fix manifest creation
Browse files Browse the repository at this point in the history
  • Loading branch information
oissevalt committed Jan 9, 2024
1 parent 9a5a595 commit 4ff021f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#[cfg(target_family = "unix")]
fn main() {}
fn main() {

}

#[cfg(target_family = "windows")]
fn main() {
// dependency, supported OS and privilege are set by default
// see documentation for [embed_manifest::new_manifest]
embed_manifest::embed_manifest(
embed_manifest::new_manifest("SealUpdater").expect("failed to create manifest")
);
embed_manifest::embed_manifest(embed_manifest::new_manifest("SealUpdater"))
.expect("failed to create manifest");
println!("cargo:rerun-if-changed=build.rs");

static_vcruntime::metabuild();
Expand Down

0 comments on commit 4ff021f

Please sign in to comment.