commit 82e617baaade39d0076ed8c14e04cdb293e222ce
Author: @RandyMcMillan <[email protected]>
Date: Tue Oct 31 16:28:02 2023 -0400
GNUmakefile:rustup-init env vars
RUSTUP_INIT_SKIP_PATH_CHECK=yes
TOOLCHAIN=stable
Z= ##
diff --git a/GNUmakefile b/GNUmakefile
index 48b957d0a..0b085f356 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -31,6 +31,27 @@ endif
HOMEBREW :=$(shell which brew || false)
+RUSTUP_INIT_SKIP_PATH_CHECK=yes
+TOOLCHAIN=stable
+Z= ##
+ifneq ($(toolchain),)
+
+ifeq ($(toolchain),nightly)
+TOOLCHAIN=nightly
+Z=-Z unstable-options
+endif
+
+ifeq ($(toolchain),stable)
+TOOLCHAIN=stable
+Z= ##
+endif
+
+endif
+
+export RUSTUP_INIT_SKIP_PATH_CHECK
+export TOOLCHAIN
+export Z
+
ifeq ($(verbose),true)
VERBOSE :=-v
else