Skip to content

Commit

Permalink
enable optimizer in tests and procmacros
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpyattaev committed Mar 5, 2025
1 parent 703677b commit cebe934
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ lto = false # Preserve the 'thin local LTO' for this build.
split-debuginfo = "unpacked"
lto = "thin"

# Enable basic optimizations for unittests
[profile.test]
opt-level = 1

# Enable optimizations for procmacros for faster recompile
[profile.dev.build-override]
opt-level = 1

[workspace]
members = [
"account-decoder",
Expand Down

0 comments on commit cebe934

Please sign in to comment.