Skip to content

Commit

Permalink
force LTO to false (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
vita-dounai authored Nov 23, 2021
1 parent 5af393d commit 597b6e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cmd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ fn run_xargo_build(
.with_root_package_manifest(|manifest| {
manifest
.with_removed_crate_type("rlib")?
.with_profile_release_lto(true)?;
.with_profile_release_lto(false)?;
Ok(())
})?
.using_temp(xbuild)
Expand Down Expand Up @@ -516,7 +516,7 @@ fn generate_abi(
.with_root_package_manifest(|manifest| {
manifest
.with_added_crate_type("rlib")?
.with_profile_release_lto(true)?;
.with_profile_release_lto(false)?;
Ok(())
})?
.using_temp(build)?;
Expand Down

0 comments on commit 597b6e1

Please sign in to comment.