From ea34e4a773437a60835d61309b1bce52e8927e4b Mon Sep 17 00:00:00 2001 From: Valdemar Erk Date: Sat, 15 Jun 2024 16:19:41 +0200 Subject: [PATCH] fix ci after change in nightly -Zgcc-lld was stabilized in https://github.com/rust-lang/compiler-team/issues/510 under a different name. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5fb25d..8639e10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN source $HOME/.cargo/env && \ GCC_VERSION=$($MUSL_TARGET-gcc --version | grep gcc | awk '{print $3}') && \ echo -e "\ [build]\n\ -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\ +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\ [target.$RUST_TARGET]\n\ linker = \"$MUSL_TARGET-gcc\"\n\ [unstable]\n\