]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Sun, 28 Feb 2021 11:38:07 +0000 (20:38 +0900)
committerPHO <pho@cielonegro.org>
Sun, 28 Feb 2021 11:38:07 +0000 (20:38 +0900)
dot-files/_zshenv

index 4f5d9e42f0d5af57fe57d7829cfb568fa83fcf14..3363fe00ae3e5787423f637194dc3ff577fa0829 100644 (file)
@@ -107,6 +107,11 @@ if [[ $(hostname) = "nem.cielonegro.org" ]]; then
     export PKG_DBDIR=/usr/pkgdb
 fi
 
+# rust
+if whence sccache-wrapper >/dev/null; then
+    export RUSTC_WRAPPER=$(which sccache-wrapper)
+fi
+
 # GUI Toolkits
 export SDL_VIDEODRIVER="x11"
 if [[ $(uname) = "Darwin" ]]; then