summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-03 09:36:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-03 09:36:54 +0100
commit811d7f2bb22f413c47c1fd908c4c48b231f30a89 (patch)
treeda7e1e56185f3bfee292dafc01657c45fe9ccb3a
parent3ae87f3c2ae05a5e72b35616dd90508c2f211893 (diff)
dev-lang/rust : drop bootstrap checks, our ebuild won't use eselect
-rw-r--r--dev-lang/rust/rust-1.46.0-r10.ebuild19
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} ))