mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-18 05:44:35 +03:00
6541eb013f
The image tag I assumed existed (`mipsel-musl-softfloat`) isn't published by messense; docker-pull errored with "manifest unknown". Available mipsel tags are just `mipsel-musl` (hardfloat) and the regional mirrors of same. Fix: use `messense/rust-musl-cross:mipsel-musl` (the standard hardfloat image) and force soft-float code generation via `RUSTFLAGS=-C target-feature=+soft-float` on top of the nightly `-Z build-std=std,panic_abort` we were already using. build-std recompiles libstd with the same RUSTFLAGS, so libstd itself comes out soft-float even though the image's gcc/musl is hardfloat. We don't link anything beyond libc for mhrv-rs (ring is pure-asm for the crypto hot paths), so the fact that musl libm isn't soft-float doesn't bite us. Net result: the binary emits no hardware FP instructions, which is what MT7621 actually needs.