From 90c1ffbbd5ebd7c6adb81af42005582e68cf0c67 Mon Sep 17 00:00:00 2001 From: dzu Date: Sat, 21 Feb 2026 03:38:51 +0000 Subject: [PATCH 1/2] fix: add linking to gcc compiler builtins --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fb0e9fa..03cc28f 100755 --- a/build.sh +++ b/build.sh @@ -53,7 +53,7 @@ else fi if [[ "$OPT_BUILD_STD" == "true" ]] || [[ "$OPT_BUILD_STD" == "True" ]]; then - RUSTFLAGS="$RUSTFLAGS -Lunwind -L/lib/musl/lib -Lcrt -Lxz -llzma" + RUSTFLAGS="$RUSTFLAGS -Lunwind -L/lib/musl/lib -Lcrt -Lxz -llzma -lgcc" TOOLCHAIN='+nightly' ARGS="-Z build-std=std,panic_abort $ARGS" fi From 3db8ca51c03f814bd538160e94411a787b0d2c89 Mon Sep 17 00:00:00 2001 From: dzu Date: Sat, 21 Feb 2026 03:39:16 +0000 Subject: [PATCH 2/2] fix: remove pointless library paths --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 03cc28f..8de2b40 100755 --- a/build.sh +++ b/build.sh @@ -53,7 +53,7 @@ else fi if [[ "$OPT_BUILD_STD" == "true" ]] || [[ "$OPT_BUILD_STD" == "True" ]]; then - RUSTFLAGS="$RUSTFLAGS -Lunwind -L/lib/musl/lib -Lcrt -Lxz -llzma -lgcc" + RUSTFLAGS="$RUSTFLAGS -L/lib/musl/lib -llzma -lgcc" TOOLCHAIN='+nightly' ARGS="-Z build-std=std,panic_abort $ARGS" fi