Skip to content

Commit ec33e72

Browse files
committed
Build uefi binary with optimizations
1 parent 8c82e68 commit ec33e72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ fn main() -> anyhow::Result<()> {
9595
let build_or_run = if args.run { "run" } else { "build" };
9696
let mut cmd = Command::new(env!("CARGO"));
9797
cmd.arg(build_or_run).arg("--bin").arg("uefi");
98+
cmd.arg("--release");
9899
cmd.arg("--target").arg("x86_64-unknown-uefi");
99100
cmd.arg("--features")
100101
.arg(args.features.join(" ") + " uefi_bin");

0 commit comments

Comments
 (0)