You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify optimization comment in Cargo.toml (and bump deps to -O2)
The comment in `Cargo.toml` explaining our test optimization was
somewhat incorrect - `[profile.dev]` actually already only applies
to dependencies, so we were already leaving workspace crates
unoptimized with dependencies optimized.
At least, I think we were, but its somewhat unclear whether we were
optimizing the `lightning` crate when it was a dependency of other
workspace crates. So to clarify and ensure we have that behavior,
`[profile.dev]` was swapped for `[profile.dev.package."*"]`.
Finally, because its a slight win for developers, the `opt-level`
on dependencies was set to O2 instead of O1.
0 commit comments