summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/scripts/config.sh
blob: 53ada369b089a28ee63b3c183603a36153239821 (plain)
1
2
3
4
5
6
# Note to people running shellcheck: this file should only be sourced, not executed directly.

set -e

export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH"