summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/.profile b/.profile
index 50b4e6d..ad9566e 100644
--- a/.profile
+++ b/.profile
@@ -33,6 +33,9 @@ fi
 if [ -d "${HOME}/.cargo/bin" ]; then
 	pathappend "${HOME}/.cargo/bin"
 fi
+if [ -d "/usr/src/rust" ]; then
+	export RUST_SRC_PATH=/usr/src/rust
+fi
 
 # Use the new build backend in docker
 export DOCKER_BUILDKIT=1