add rust-rebuild support for rust-bin

This commit is contained in:
Fredrik Eriksson 2024-08-22 15:30:56 +02:00
parent 6fd96562ae
commit 9f08c5f687
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -312,8 +312,8 @@ def pkg_upgrade():
log.warning(line) log.warning(line)
# rebuild rust # rebuild rust
if 'dev-lang/rust' in rebuild_packages: if any([x in rebuild_packages for x in ('dev-lang/rust', 'dev-lang/rust-bin'):
log.info("Running rust-rebuild due to update of dev-lang/rust") log.info("Running rust-rebuild due to update of rust")
cmd = [ cmd = [
EMERGE_PATH, EMERGE_PATH,
'--color', 'n', '--color', 'n',