Skip to content
Open
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
7 changes: 7 additions & 0 deletions executor/programs/rust/ethrex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
[workspace]

# Thin LTO measurably lowers executed guest cycles (~2.3% on the committed
# ethrex_bench fixtures) at a small ELF-size cost, which is free in this VM
# (execution is priced per executed instruction, not by ELF size). Cargo's
# release default is lto = false / codegen-units = 16.
[profile.release]
lto = "thin"

[package]
name = "ethrex"
version = "0.1.0"
Expand Down
Loading