Skip to content

Commit

Permalink
Slightly optimize test builds, to make them run faster
Browse files Browse the repository at this point in the history
  • Loading branch information
shrugalic committed Dec 10, 2024
1 parent 92529ac commit 24a8aa1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 2024/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ name = "advent_of_code_2024"
version = "0.1.0"
edition = "2021"

[profile.test]
# The default optimization level is 3 for release mode builds.
# 0 means disable optimization and is the default for debug mode buids.
# (Setting opt-level=1 for debug builds is a good way of speeding them up a bit.)
# "s" means optimize for size, "z" reduces size even more.
opt-level = 1

[dependencies]
rayon = "1.10.0"

0 comments on commit 24a8aa1

Please sign in to comment.