Skip to content

Commit 3b4fb69

Browse files
committed
Set PATH instead of using rustup run
1 parent b75b0eb commit 3b4fb69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
export CG_CLIF_ENABLE_VERIFIER=1
173173
174174
rustup run nightly-2022-03-25 bash -c 'env'
175-
rustup run nightly-2022-03-25 bash ./test.sh
175+
./test.sh
176176
177177
- name: Package prebuilt cg_clif
178178
# don't use compression as xzip isn't supported by tar on windows and bzip2 hangs

scripts/config.sh

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ set -e
44

55
export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH"
66
export DYLD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH"
7+
export PATH="$(rustc --print sysroot)/bin:$PATH"
78
ls $(rustc --print sysroot)/bin

0 commit comments

Comments
 (0)