.
( chr: ppc32 ) timberdoodle ~ # rustc -vV rustc 1.49.0 (e1884a8e3 2020-12-29) binary: rustc commit-hash: e1884a8e3c3e813aada8254edfa120e85bf5ffca commit-date: 2020-12-29 host: powerpc-unknown-linux-gnu release: 1.49.0 1.50.0 just works as well, only thing needed is adding keyword, as eclass already contains support.
on other hand ( chr: ppc32 ) timberdoodle /var/db/repos/gentoo/sys-apps/ripgrep # cargo -h Illegal instruction fun.
Works for me on ppc32 (on my Talos II 32bit chroot). # cargo -vV cargo 1.50.0 (f04e7fab7 2021-02-04) release: 1.50.0 commit-hash: f04e7fab73128592a4063983c302da788bdfaba5 commit-date: 2021-02-04 # cargo -h Rust's package manager USAGE: cargo [OPTIONS] [SUBCOMMAND] OPTIONS: -V, --version Print version info and exit --list List installed commands --explain <CODE> Run `rustc --explain CODE` -v, --verbose Use verbose output (-vv very verbose/build.rs output) -q, --quiet No output printed to stdout --color <WHEN> Coloring: auto, always, never --frozen Require Cargo.lock and cache are up to date --locked Require Cargo.lock is up to date --offline Run without accessing the network -Z <FLAG>... Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details -h, --help Prints help information Some common cargo commands are (see all commands with --list): build, b Compile the current package check, c Analyze the current package and report errors, but don't build object files clean Remove the target directory doc Build this package's and its dependencies' documentation new Create a new cargo package init Create a new cargo package in an existing directory run, r Run a binary or example of the local package test, t Run the tests bench Run the benchmarks update Update dependencies listed in Cargo.lock search Search registry for crates publish Package and upload this package to the registry install Install a Rust binary. Default location is $HOME/.cargo/bin uninstall Uninstall a Rust binary See 'cargo help <command>' for more information on a specific command.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a35c7dcb78e586874791ba0cfdca6306453677 commit e4a35c7dcb78e586874791ba0cfdca6306453677 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-04-27 18:58:57 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-04-27 18:59:09 +0000 dev-lang/rust-bin: ~ppc keyworded Closes: https://bugs.gentoo.org/769458 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust-bin/rust-bin-1.51.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1cc567f783430be53d4989ed259a471f705ad73 commit e1cc567f783430be53d4989ed259a471f705ad73 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-04-27 18:58:08 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-04-27 18:59:05 +0000 app-eselect/eselect-rust: ~ppc keyworded Bug: https://bugs.gentoo.org/769458 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> app-eselect/eselect-rust/eselect-rust-20200419.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed778cb78fc7ac8a709fee60a246f3b16dc2e9cb commit ed778cb78fc7ac8a709fee60a246f3b16dc2e9cb Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-04-27 19:00:59 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-04-27 19:00:59 +0000 virtual/rust: ~ppc keyworded Bug: https://bugs.gentoo.org/769458 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> virtual/rust/rust-1.51.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)