pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar  4 12:17:34 UTC 2026

Modified Files:
        pkgsrc/lang/rust: rust.mk

Log Message:
rust: Improve RUST_TYPE documentation.

Include a note about RUSTUP_HOME which will need to be set if using rustup,
due to pkgsrc changing the HOME environment variable during build.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/rust/rust.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/rust.mk
diff -u pkgsrc/lang/rust/rust.mk:1.17 pkgsrc/lang/rust/rust.mk:1.18
--- pkgsrc/lang/rust/rust.mk:1.17       Mon Aug 25 17:51:11 2025
+++ pkgsrc/lang/rust/rust.mk    Wed Mar  4 12:17:34 2026
@@ -1,4 +1,4 @@
-# $NetBSD: rust.mk,v 1.17 2025/08/25 17:51:11 wiz Exp $
+# $NetBSD: rust.mk,v 1.18 2026/03/04 12:17:34 jperkin Exp $
 #
 # This file determines the type of rust package to use.
 #
@@ -8,11 +8,15 @@
 # === User-settable variables ===
 #
 # RUST_TYPE
-#      The preferred type of Rust release to use -
-#      either bootstrap-from-source or an official binary.
+#      The preferred type of Rust release to use - either build from source,
+#      or use a binary installation.
 #
-#      Official Rust binaries are only published for certain platforms,
-#      including Darwin, FreeBSD, Linux, and NetBSD x86_64.
+#      Official Rust binaries are only published for certain platforms.  The
+#      "bin" option uses the lang/rust-bin package, whereas "native" uses
+#      binaries installed on the host system.  If using "native" with a rustup
+#      installation, you will probably also need to set RUSTUP_HOME in your
+#      MAKE_ENV pointing to the 'rustup show home' directory.  This is due to
+#      pkgsrc overwriting the HOME environment variable during build.
 #
 #      Possible values: src bin native
 #      Default: "src", except on 32-bit arm where it's "bin"



Home | Main Index | Thread Index | Old Index