From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 39B911582EF for ; Sat, 08 Mar 2025 14:02:51 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 20E8A3430B3 for ; Sat, 08 Mar 2025 14:02:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 996A0110493; Sat, 08 Mar 2025 13:59:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C44E7110488 for ; Sat, 08 Mar 2025 13:59:35 +0000 (UTC) Received: from arthur-pc.bbrouter (unknown [62.56.175.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: arthurzam) by smtp.gentoo.org (Postfix) with ESMTPSA id A9396342FE0; Sat, 08 Mar 2025 13:59:34 +0000 (UTC) From: Arthur Zamarin To: gentoo-dev@lists.gentoo.org Cc: rust@gentoo.org, Arthur Zamarin Subject: [gentoo-dev] [PATCH 3/5] rust.eclass: add documentation for RUST_{SLOT,TYPE} Date: Sat, 8 Mar 2025 15:59:19 +0200 Message-ID: <20250308135921.593905-4-arthurzam@gentoo.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250308135921.593905-1-arthurzam@gentoo.org> References: <20250308135921.593905-1-arthurzam@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2971fc79-be51-49d2-ac11-47a87d5f4413 X-Archives-Hash: 040ed3ba5451c2f92380b2b00c19feee Signed-off-by: Arthur Zamarin --- eclass/rust.eclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index f69ea466f50..41197ce4e3a 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -144,6 +144,18 @@ declare -a -g -r _RUST_SLOTS_ORDERED=( # Lowest Rust slot supported by the package. Needs to be set before # rust_pkg_setup is called. If unset, no lower bound is assumed. +# @ECLASS_VARIABLE: RUST_SLOT +# @OUTPUT_VARIABLE +# @DESCRIPTION: +# The selected Rust slot for building, from the range defined by +# RUST_MAX_VER and RUST_MIN_VER. This is set by rust_pkg_setup. + +# @ECLASS_VARIABLE: RUST_TYPE +# @OUTPUT_VARIABLE +# @DESCRIPTION: +# The selected Rust type for building, either 'source' or 'binary'. +# This is set by rust_pkg_setup. + # @ECLASS_VARIABLE: RUST_NEEDS_LLVM # @DEFAULT_UNSET # @DESCRIPTION: -- 2.48.1