Skip to content

Commit

Permalink
Revert me: Force Lto::Off (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi authored Mar 1, 2025
1 parent d2b783b commit 7a6c2a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/build/src/workspace/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ impl Profile {
pub fn default_contract_release() -> Profile {
Profile {
opt_level: Some(OptLevel::Z),
lto: Some(Lto::Fat),
// todo change back to `Lto::Fat` once bug in `polkavm` has been fixed.
// currently `Lto::Fat` results in the `contract-transfer` e2e tests to fail.
lto: Some(Lto::Off),
codegen_units: Some(1),
panic: Some(PanicStrategy::Abort),
}
Expand Down

0 comments on commit 7a6c2a2

Please sign in to comment.