diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-09-15 16:14:29 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-09-15 16:14:29 +0000 |
| commit | d82b696594c39d5f463e4560b68d7a2d4e33b2f0 (patch) | |
| tree | c1e8d0ac2cf175f7fdd08b384cc37df27590fd0a /scripts/setup_rust_fork.sh | |
| parent | b023e2f7d04d6f7707e4dd05ab133e56e9f4ff51 (diff) | |
| download | rust-d82b696594c39d5f463e4560b68d7a2d4e33b2f0.tar.gz rust-d82b696594c39d5f463e4560b68d7a2d4e33b2f0.zip | |
Update for latests rustc test suite changes
Diffstat (limited to 'scripts/setup_rust_fork.sh')
| -rw-r--r-- | scripts/setup_rust_fork.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh index 6ae8b14f4c0..d6a37789599 100644 --- a/scripts/setup_rust_fork.sh +++ b/scripts/setup_rust_fork.sh @@ -68,3 +68,7 @@ popd # FIXME remove once inline asm is fully supported export RUSTFLAGS="$RUSTFLAGS --cfg=rustix_use_libc" + +# Allow the testsuite to use llvm tools +host_triple=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ") +export LLVM_BIN_DIR="$(rustc --print sysroot)/lib/rustlib/$host_triple/bin" |
