commit: 0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600
Author: Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 05:25:46 2024 +0000
Commit: Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 05:27:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b84ec0b
rust.eclass: break up eclass documentation
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>
eclass/rust.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/rust.eclass b/eclass/rust.eclass
index b578f6cf9afa..450911ba2ea0 100644
--- a/eclass/rust.eclass
+++ b/eclass/rust.eclass
@@ -13,8 +13,10 @@
# a given Rust slot. To use the eclass:
#
# 1. If required, set RUST_{MAX,MIN}_SLOT to the range of supported slots.
+#
# 2. If rust is optional, set RUST_OPTIONAL to a non-empty value then
-# appropriately gate ${RUST_DEPEND}
+# appropriately gate ${RUST_DEPEND}
+#
# 3. Use rust_pkg_setup, get_rust_prefix or RUST_SLOT.
# Example use for a package supporting Rust 1.72.0 to 1.82.0: