mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
cargo.eclass switches to dev profile when USE=debug is set, placing binaries in target/debug/ instead of target/release/. The ebuild hard-coded target/release/ paths in src_install, causing dobin to fail when users had USE=debug enabled. Use $(usex debug debug release) to pick the right output directory. Closes: https://bugs.gentoo.org/975866 Signed-off-by: Eric CHAVAL (NoBoDyZ) <neotrax70@gmail.com>