Skip to content

Commit

Permalink
reduced to 1.06kb
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxii committed Jun 24, 2022
1 parent 14e7a1a commit b3ca93d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() {
// println!("cargo:rustc-link-arg-bins=/ALIGN:16");
// println!("cargo:rustc-link-arg-bins=/FILEALIGN:1");
println!("cargo:rustc-link-arg-bins=/ALIGN:16");
println!("cargo:rustc-link-arg-bins=/FILEALIGN:1");
// Merges empty `.rdata` and `.pdata` into .text section saving a few bytes in data
// directories portion of PE header.
/*
Expand All @@ -25,6 +25,7 @@ fn main() {
println!("cargo:rustc-link-arg-bins=/NXCOMPAT");
println!("cargo:rustc-link-arg-bins=/DYNAMICBASE");
println!("cargo:rustc-link-arg-bins=/MANIFEST:NO");
// println!("cargo:rustc-link-arg-bins=/LARGEADDRESSAWARE");
// See: https://github.com/mcountryman/min-sized-rust-windows/pull/7
println!("cargo:rustc-link-arg-bins=/STUB:stub.exe");

Expand Down

0 comments on commit b3ca93d

Please sign in to comment.