From 77b1fb2f53382ccea9a9c1a153830510b581ade9 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 29 Jul 2021 09:25:09 +0200 Subject: [PATCH] usrlocalpkg: Add alias and more wrapper for rust Add package alias "rust" so that we can easily run tools from the current rust package which don't deserve a wrapper on their own. For example prun rust miri Add wrappers for `rustdoc` and `rustfmt`. These are available via cargo, too, ( `cargo doc`, `cargo fmt` ) but, for example, `cargo help fmt` refers to "Options passed to rustfmt" so it would be useful, if `rustfmt --help` would work. Also, external documentation might suggest users to run these commands directly. --- usrlocalpkg/admin/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usrlocalpkg/admin/config b/usrlocalpkg/admin/config index e27bf8b..6f92311 100644 --- a/usrlocalpkg/admin/config +++ b/usrlocalpkg/admin/config @@ -1515,10 +1515,12 @@ CellProfiler-2.2.0-0 CellProfiler-3.1.5-0 cellprofiler -rustc-1.52.1-0 +rust=rustc-1.52.1-0 rustc cargo cbindgens + rustdoc + rustfmt apache-maven-3.6.0-0 mvn mvnDebug