fix: use pure MIPS asm for __atomic_is_lock_free, remove unsupported --defsym
Some checks are pending
Build MIPS Binary / build (push) Waiting to run

This commit is contained in:
spinline
2026-02-07 00:40:39 +03:00
parent f4d0351c5b
commit f99fc4a134
2 changed files with 7 additions and 23 deletions

View File

@@ -34,8 +34,7 @@ jobs:
env:
# Ensure we are building a fully static binary
# -C link-self-contained=no: Let Zig (the linker) handle CRT objects (crt1.o, etc.)
# --defsym=__atomic_is_lock_free=... Maps the missing symbol to our shim
RUSTFLAGS: "-C target-feature=+crt-static -C link-self-contained=no -C link-arg=-msoft-float -C link-arg=-Wl,--defsym=__atomic_is_lock_free=__atomic_is_lock_free_shim"
RUSTFLAGS: "-C target-feature=+crt-static -C link-self-contained=no -C link-arg=-msoft-float"
CFLAGS_mips_unknown_linux_musl: "-msoft-float"
run: |
cd backend