Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,13 @@ codegen-units = 1
# Keep release unwinding enabled so panic containment works.
panic = "unwind"
strip = "symbols"

# Important decision: separate `bench` profile uses fat LTO for the most
# aggressive cross-crate inlining. Criterion benches run rarely and we'd
# rather spend extra compile time once than miss inlining opportunities
# across the interpreter / parser / builtins boundary on every measurement.
# `release` keeps `thin` LTO so day-to-day builds stay fast.
[profile.bench]
inherits = "release"
lto = "fat"
codegen-units = 1
Loading
Loading