cargo-ebuild icon indicating copy to clipboard operation
cargo-ebuild copied to clipboard

-sys crates handling

Open gyakovlev opened this issue 4 years ago • 2 comments

https://github.com/cardoe/cargo-ebuild/issues/30 https://bugs.gentoo.org/709568

Some binding -sys crates are known to build private copy of a library by default, or if it's not found. cargo-ebuild could maintain a list of know offenders and warn about extra dependencies, or even fill out ebuild. also such ebuilds often need virtual/pkgconfig dep.

gyakovlev avatar Jun 30 '21 20:06 gyakovlev

If system-deps is used for the -sys crates we could have more control through standardized env vars.

lu-zero avatar Jul 29 '21 10:07 lu-zero

This would be really helpful for helping folks not familiar with packaging Rust in Gentoo, as I often have to share my list of workarounds from the various ebuilds right now.

thesamesam avatar Nov 16 '21 01:11 thesamesam