Skip to content

Commit ea34e4a

Browse files
committed
fix ci after change in nightly
-Zgcc-lld was stabilized in rust-lang/compiler-team#510 under a different name.
1 parent caf8545 commit ea34e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN source $HOME/.cargo/env && \
2626
GCC_VERSION=$($MUSL_TARGET-gcc --version | grep gcc | awk '{print $3}') && \
2727
echo -e "\
2828
[build]\n\
29-
rustflags = [\"-L\", \"native=/$MUSL_TARGET-cross/$MUSL_TARGET/lib\", \"-L\", \"native=/$MUSL_TARGET-cross/lib/gcc/$MUSL_TARGET/$GCC_VERSION/\", \"-l\", \"static=gcc\", \"-Z\", \"gcc-ld=lld\"]\n\
29+
rustflags = [\"-L\", \"native=/$MUSL_TARGET-cross/$MUSL_TARGET/lib\", \"-L\", \"native=/$MUSL_TARGET-cross/lib/gcc/$MUSL_TARGET/$GCC_VERSION/\", \"-l\", \"static=gcc\", \"-Z\", \"-Clink-self-contained=linker\", \"-Clinker-flavor=gcc-lld\"]\n\
3030
[target.$RUST_TARGET]\n\
3131
linker = \"$MUSL_TARGET-gcc\"\n\
3232
[unstable]\n\

0 commit comments

Comments
 (0)