rust/ci
Yacin Tmimi 37489e43b6 Update how LD_LIBRARY_PATH is set for rustfmt binaries in diff check
rustfmt currently has a runtime dependency on the sysroot. So when we
build a standalone rustfmt binary we need to set `LD_LIBRARY_PATH` so
each rustfmt binary knows where to find it's dependencies.

When running our Diff-Check job to test PRs for breaking changes it's
often the case that both the master rustfmt binary and the feature
branch binary have the same runtime dependencies so we only need to
set `LD_LIBRARY_PATH` once.

However, when running the diff-check job against a subtree sync PR that
assumption doesn't hold. The subtree sync PR bumps the required
toolchain used to build rustfmt and therefore the binary that gets built
for the subtree sync PR has a different runtime dependency than the
master rustfmt binary.

Now we set `LD_LIBRARY_PATH` twice to account for this potential
difference.
2023-11-01 20:21:47 -05:00
..
build_and_test.bat Build nightly rustfmt using --all-features in CI 2023-08-13 13:49:06 -05:00
build_and_test.sh Build nightly rustfmt using --all-features in CI 2023-08-13 13:49:06 -05:00
check_diff.sh Update how LD_LIBRARY_PATH is set for rustfmt binaries in diff check 2023-11-01 20:21:47 -05:00
integration.sh Update Git repo URLs 2022-11-05 19:51:01 -05:00