rustc/compiler/rustc_codegen_cranelift/scripts/config.sh
2021-10-08 13:53:48 +01:00

7 lines
249 B
Bash

# 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"