diff options
Diffstat (limited to 'dev-lang/rust')
-rw-r--r-- | dev-lang/rust/rust-1.46.0-r10.ebuild | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-lang/rust/rust-1.46.0-r10.ebuild b/dev-lang/rust/rust-1.46.0-r10.ebuild index 73df8838..d6c79659 100644 --- a/dev-lang/rust/rust-1.46.0-r10.ebuild +++ b/dev-lang/rust/rust-1.46.0-r10.ebuild @@ -88,7 +88,6 @@ DEPEND=" " RDEPEND="${DEPEND} - app-eselect/eselect-rust " REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) @@ -128,24 +127,6 @@ toml_usex() { usex "$1" true false } -boostrap_rust_version_check() { - # never call from pkg_pretend. eselect-rust may be not installed yet. - local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))" - local rustc_version=( $(eselect --brief rust show 2>/dev/null) ) - rustc_version=${rustc_version[0]#rust-bin-} - rustc_version=${rustc_version#rust-} - - [[ -z "${rustc_version}" ]] && die "Failed to determine rustc version!" - - if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then - eerror "Rust >=${rustc_wanted} is required" - eerror "please run \'eselect rust\' and set correct rust version" - die - else - einfo "Using rust ${rustc_version} to build" - fi -} - pre_build_checks() { local M=6144 M=$(( $(usex clippy 128 0) + ${M} )) |