Skip to content

Commit 89500fa

Browse files
ytmimicalebcartwright
authored andcommitted
Add LD_LIBRARY_PATH in check_diff.sh
There were some upstream changes made a while back that requires this to be set when building rustfmt from source like we do in the `check_diff.sh` script. See issue 5675 for more details.
1 parent 5ed7f74 commit 89500fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/check_diff.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# https://github.com/rust-lang/rustfmt/issues/5675
4+
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH
5+
36
function print_usage() {
47
echo "usage check_diff REMOTE_REPO FEATURE_BRANCH [COMMIT_HASH] [OPTIONAL_RUSTFMT_CONFIGS]"
58
}

0 commit comments

Comments
 (0)