Skip to content

Commit

Permalink
perf: Change link-time optimization in dev and test
Browse files Browse the repository at this point in the history
This change improves the development cycle in both dev and test,
when running the same command multiple times in a row.

On my machine I can see improvements from minutes to seconds.
For example when running `cargo run` and `cargo test`.

Co-authored-by: Paul Dann <[email protected]>
  • Loading branch information
Raphexion and giddie committed Jan 27, 2025
1 parent 1198c62 commit 62f376d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ debug-assertions = false

[profile.dev]
opt-level = 3
lto = "thin"
lto = "off"
incremental = true

[profile.test]
Expand Down

0 comments on commit 62f376d

Please sign in to comment.