Skip to content

Commit

Permalink
src: use locked for release build
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Oct 4, 2024
1 parent c69db26 commit 83f683d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

// Add --release argument if not in debug mode
if cfg!(not(debug_assertions)) {
trunk_command.arg("--release");
trunk_command.args(["--release", "--locked"]);
}

let trunk_output = trunk_command.output().expect("Failed to execute trunk");
Expand Down

0 comments on commit 83f683d

Please sign in to comment.