diff --git a/ci/check_diff.sh b/ci/check_diff.sh index 062c2dd8673..6f30e8ba9cb 100755 --- a/ci/check_diff.sh +++ b/ci/check_diff.sh @@ -1,5 +1,8 @@ #!/bin/bash +# https://github.com/rust-lang/rustfmt/issues/5675 +export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH + function print_usage() { echo "usage check_diff REMOTE_REPO FEATURE_BRANCH [COMMIT_HASH] [OPTIONAL_RUSTFMT_CONFIGS]" }