Skip to content

Commit

Permalink
Build maybenot with inherited --profile
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Jan 15, 2025
1 parent da9324d commit 7009a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wireguard-go-rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ fn build_shared_maybenot_lib(out_dir: impl AsRef<Path>) -> anyhow::Result<()> {
// Set temporary target dir to prevent deadlock
.env("CARGO_TARGET_DIR", &tmp_build_dir)
.arg("build")
.args(["--profile", &profile])
.args(["--target", &target_triple]);

exec(build_command)?;
Expand Down

0 comments on commit 7009a50

Please sign in to comment.