Skip to content

Commit 2ebb231

Browse files
authored
Optimize external packages (#3501)
Co-authored-by: Arlie Davis <ardavis@microsoft.com>
1 parent 42a7f69 commit 2ebb231

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ exclude = [
1515
"crates/targets/baseline",
1616
]
1717

18+
# This compiles external dependencies (outside crates) with full optimization.
19+
# This can improve run time while iterating on development (testing, etc.).
20+
# This has NO EFFECT on end users using windows-* crates.
21+
[profile.dev.package."*"]
22+
opt-level = 2
23+
1824
[workspace.lints.rust]
1925
rust_2018_idioms = { level = "warn", priority = -1 }
2026
missing_docs = "warn"

0 commit comments

Comments
 (0)