summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-11-17 15:25:46 +1000
committerMatt Jolly <kangie@gentoo.org>2024-11-17 15:27:08 +1000
commit0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600 (patch)
tree000f59f278c56f1fade38d33b6809a9a8c800cad /eclass
parentrust.eclass: fix ECLASS_VARIABLE for LLVM/MULTILIB (diff)
downloadgentoo-0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600.tar.gz
gentoo-0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600.tar.bz2
gentoo-0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600.zip
rust.eclass: break up eclass documentation
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/rust.eclass4
1 files changed, 3 insertions, 1 deletions
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: