Skip to content

Commit

Permalink
The temporary fix for rust-lang/rust#53945 is only needed for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulGrandperrin committed Oct 5, 2018
1 parent 4f48d2f commit 63e4b46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
export RUST_BACKTRACE=full

# HACK: temporary fix, see https://github.com/rust-lang/rust/issues/53945#issuecomment-426824324
export RUSTFLAGS="-Clink-arg=-fuse-ld=gold"
if [ "`uname`" = "Darwin" ] ;then
export RUSTFLAGS="-Clink-arg=-fuse-ld=gold"
fi

cargo clean
cargo update
Expand Down

0 comments on commit 63e4b46

Please sign in to comment.