summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 445ae2f..f0ba1a1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -18,6 +18,15 @@ pub mod pkginfo;
pub mod pkgver;
pub mod recipe;
pub mod review;
+/// The §16a fake toolchain: stand-ins for `makepkg`, `mkarchroot`, `gpg`,
+/// `repo-add` and `pacman` so the whole step machine runs without root, network
+/// or an Arch chroot.
+///
+/// Test-only, and compiled out of a production build (§6 M-4): the module exists
+/// only under the `test-support` feature, which nothing but this crate's own
+/// dev-dependency enables, and the shim binaries declare the same feature. A
+/// binary an operator runs cannot fake a build tool it cannot see.
+#[cfg(feature = "test-support")]
pub mod shims;
pub mod time;
pub mod watch;