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
The Gentoo ebuild file has a long list of dependency crates, which includes some unnecessary libs as well.
Let's investigate how the list can be optimized.
It is actually 2 different issues: optimization of feature flags in Cargo.toml (done in #20), and actually deleting unnecessary libs from Cargo.lock.
The latter is more tricky to resolve, because cargo-ebuild simply copies over all deps in Cargo.lock to an output ebuild, but rust cargo almost always assumes all libs are listed in Cargo.lock, including windows libs.
Some folks recommend calling cargo -Z avoid-dev-deps (only available in nightly), but that still does not bring any difference.
The Gentoo ebuild file has a long list of dependency crates, which includes some unnecessary libs as well.
Let's investigate how the list can be optimized.
Cargo.toml
: Cargo: optimize feature flags of tokio #20Cargo.lock
, e.g. windows libs.The text was updated successfully, but these errors were encountered: