Closed jlpoolen closed 3 years ago
And, just for completeness, I only have one version staged on my system:
ares /usr/local/src/retina # eselect rust list
Available Rust versions:
[1] rust-1.51.0 *
ares /usr/local/src/retina #
The split_once
it's complaining about was introduced in Rust 1.52 (latest stable version).
unmasked virtual/rust and dev-lang/rust in Gentoo in /etc/portage/packages.accept_keywords/rust. Current high watermark for rust in Gentoo is 1.51.[x] :
#
# 6/4/21 jlpoole: required by retina [Moonfire]
#
>=virtual/rust-1.52.1 ~amd64
>=dev-lang/rust-1.52.1 ~amd64
and emerged virutal/rust which brought in rust 1.52.1.
retina successfully compiled.
Also researched if cargo can specify minimum version for rust and determined it cannot -- such a feature is in the Request For Comments phase: https://github.com/rust-lang/rfcs/pull/2495
Thanks.
git cloned my forked copy (jlpooleen/retina) into /usr/local/src
Followed suggested explanation of error:
Here's what I have installed (high watermark from Gentoo repository):