Signed-off-by: David Seifert <s...@gentoo.org>
---
 eclass/rust-toolchain.eclass | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index 75b15a7088b..0bbdf46df1f 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -4,7 +4,7 @@
 # @ECLASS: rust-toolchain.eclass
 # @MAINTAINER:
 # Rust Project <r...@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 8
 # @BLURB: helps map gentoo arches to rust ABIs
 # @DESCRIPTION:
 # This eclass contains a src_unpack default phase function, and
@@ -12,10 +12,8 @@
 # gentoo arches.
 
 case ${EAPI} in
-       6) : ;;
-       7) : ;;
-       8) : ;;
-       *) die "EAPI=${EAPI:-0} is not supported" ;;
+       8) ;;
+       *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
 inherit multilib-build
-- 
2.39.0


Reply via email to