There was an error while loading. Please reload this page.
1 parent fcdf110 commit 6512ff9Copy full SHA for 6512ff9
1 file changed
Makefile
@@ -92,8 +92,8 @@ cargo_build_release:
92
rustup component add rust-src --toolchain stable --target $(TARGET); \
93
cargo install cross --git https://github.com/cross-rs/cross; \
94
$(BUILDER) build --target=$(TARGET) --release; \
95
- elif [[ $(TARGET) == "aarch64-unknown-linux-musl" ]] || [[ $(TARGET) == "armv5te-unknown-linux-musleabi" ]]; then \
96
- RUSTFLAGS="-Zlocation-detail=none -C link-arg=-lgcc" $(BUILDER) +nightly build -Z build-std=std,panic_abort,core,alloc,proc_macro --target=$(TARGET) --bin $(BINARY_NAME) --release; \
+ elif [[ $(TARGET) == "aarch64-unknown-linux-musl" ]] || [[ $(TARGET) == "armv5te-unknown-linux-musleabi" ]] || [[ $(TARGET) == "x86_64-unknown-linux-musl" ]]; then \
+ RUSTFLAGS="-Zlocation-detail=none -Zunstable-options -Cpanic=immediate-abort -C link-arg=-lgcc " $(BUILDER) +nightly build -Z build-std=std,panic_abort,core,alloc,proc_macro --target=$(TARGET) --bin $(BINARY_NAME) --release; \
97
elif [[ $(TARGET) == *"musl"* ]]; then \
98
RUSTFLAGS="-Zlocation-detail=none -Zunstable-options -Cpanic=immediate-abort" $(BUILDER) +nightly build -Z build-std=std,panic_abort,core,alloc,proc_macro --target=$(TARGET) --bin $(BINARY_NAME) --release; \
99
else \
0 commit comments