diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-11-30 10:18:23 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-12-04 10:26:49 +0100 |
| commit | b99a4e581279c59f89c82f33fcea9afbb1f952d8 (patch) | |
| tree | 6310066edd4bc7e88fe047aaed2d195fb241cfe0 /format.sh | |
| parent | 3cc0e245c35b6f3776be337cffea3901cc377cc3 (diff) | |
| download | mullvadvpn-b99a4e581279c59f89c82f33fcea9afbb1f952d8.tar.xz mullvadvpn-b99a4e581279c59f89c82f33fcea9afbb1f952d8.zip | |
Update rustfmt to 0.2.16
Diffstat (limited to 'format.sh')
| -rwxr-xr-x | format.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ set -u -VERSION="0.2.15" +VERSION="0.2.16" CMD="rustfmt" INSTALL_CMD="cargo install --vers $VERSION --force rustfmt-nightly" @@ -14,6 +14,7 @@ function correct_rustfmt() { echo "$CMD is not installed" >&2 return 1 fi + export DYLD_LIBRARY_PATH=$(rustc --print sysroot)/lib local installed_version=$($CMD --version | cut -d'-' -f1) if [[ "$installed_version" != "$VERSION" ]]; then echo "Wrong version of $CMD installed. Expected $VERSION, got $installed_version" >&2 |
