Skip to content

Commit

Permalink
Optimize external packages (#3501)
Browse files Browse the repository at this point in the history
Co-authored-by: Arlie Davis <[email protected]>
  • Loading branch information
sivadeilra and sivadeilra authored Feb 21, 2025
1 parent 42a7f69 commit 2ebb231
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ exclude = [
"crates/targets/baseline",
]

# This compiles external dependencies (outside crates) with full optimization.
# This can improve run time while iterating on development (testing, etc.).
# This has NO EFFECT on end users using windows-* crates.
[profile.dev.package."*"]
opt-level = 2

[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
missing_docs = "warn"
Expand Down

0 comments on commit 2ebb231

Please sign in to comment.