add setenv.sh

This commit is contained in:
Yu Chen 2021-11-20 15:06:38 +08:00
parent bb5dca2158
commit 7caf43bbbf

2
setenv.sh Normal file
View File

@ -0,0 +1,2 @@
export PATH=$(rustc --print sysroot)/bin:$PATH
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library/