Skip to content

Fix the generated code when lto=true #1089

@greenhat

Description

@greenhat

From #1065

  1. lto=true is super interesting. It gives the most significant (50%-90%) decrease in size but the compiled code no longer works (47 tests failed). I want to dig into it more. I've checked the basic-walled contract code and besides very aggressive inlining where compiler/sdk/base-sys/src/bindings/native_account.rs was inlined with most of the glue code optimized away.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions