diff --git a/build.sh b/build.sh index 8de2b40..fb0e9fa 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 -L/lib/musl/lib -llzma -lgcc" + RUSTFLAGS="$RUSTFLAGS -Lunwind -L/lib/musl/lib -Lcrt -Lxz -llzma" TOOLCHAIN='+nightly' ARGS="-Z build-std=std,panic_abort $ARGS" fi