From b495f662b04553ebba6cf9eda2390995ecf240c3 Mon Sep 17 00:00:00 2001 From: Valdemar Erk Date: Sat, 15 Jun 2024 16:25:56 +0200 Subject: [PATCH] linker -> yes --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bc473b6..11a1050 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\", \"-Clink-self-contained=linker\", \"-Clinker-flavor=gcc-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\", \"-Clink-self-contained=y\", \"-Clinker-flavor=gcc-lld\"]\n\ [target.$RUST_TARGET]\n\ linker = \"$MUSL_TARGET-gcc\"\n\ [unstable]\n\