diff --git a/bootstrap.sh b/bootstrap.sh index 05ac0ce2f30..8ee66a7cb4b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -6,6 +6,8 @@ cargo build --release +export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:${LD_LIBRARY_PATH}" + target/release/rustfmt src/lib.rs target/release/rustfmt src/bin/main.rs target/release/rustfmt src/cargo-fmt/main.rs