Skip to content

Commit

Permalink
t3
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed May 16, 2024
1 parent 22c4eef commit b4d944f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

set -ex

libdir="$(rustc --print target-libdir)"
sysroot="$(rustc --print sysroot)"
if [[ $OS == "Windows" ]]; then
export PATH="$lidir:$PATH"
export PATH="$sysroot/bin:$PATH"
elif [[ $OS == "macOS" ]]; then
export DYLD_FALLBACK_LIBRARY_PATH="$libdir"
export DYLD_FALLBACK_LIBRARY_PATH="$sysroot/lib"
else
export LD_LIBRARY_PATH="$libdir"
export LD_LIBRARY_PATH="$sysroot/lib"
fi

# Check sysroot handling
Expand Down

0 comments on commit b4d944f

Please sign in to comment.