Compare commits

...
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 72798d3db1 packaging(linux): riscv64 smoke test sets MALLOC_TRIM_THRESHOLD_ so the CLI doesn't restart under QEMU (#8786)
Since #7914 the CLI restarts itself to set MALLOC_TRIM_THRESHOLD_. Under user-mode
qemu-riscv64 with no binfmt handler the restart can't run the riscv64 binary, glibc's
execvp hands it to /bin/sh, and the release job fails with 'Syntax error: word
unexpected'. Setting the variable skips the restart. Real riscv64 hosts are unaffected.


Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 02:27:41 +00:00
Martin Ball f1665031b3 Merge remote-tracking branch 'origin/main' into release
; Conflicts:
;	Cargo.lock
;	Cargo.toml
2026-12-04 00:45:48 +00:00
skylartaylor 5d658dc033 Release: WordCraft v0.19.1 (main 09faec42ec, pre-UI-port) 2026-11-25 19:28:58 +01:00
skylartaylor 6b7788d8e0 Release: bump WordCraft to v0.19.1 (on 09faec42, the pre-UI-port candidate) 2026-11-25 19:27:28 +01:00
FredApps 2cde91a869 Release: WordCraft v0.19.0 (main 323cf78232) 2026-11-14 21:48:03 +01:00
FredApps 76e5732355 Release: WordCraft v0.19.0 2026-11-14 21:48:00 +01:00
Dylan M. Taylor 079f478bd8 Merge tested main for v0.18.1 2026-11-11 18:38:09 -05:00
FredApps 7296cf64de Merge main into release for WordCraft v0.18.0 2026-11-11 19:36:24 +01:00
Dylan M. Taylor 5574b32600 Release 0.17.0 2026-11-09 06:34:22 -05:00
+3 -1
View File
@@ -312,7 +312,9 @@ fi
if [[ -z "${CROSS_TARGET:-}" ]]; then
"$STAGE/usr/bin/wordcraft-cli" --version
elif [[ -n "${EMULATOR:-}" ]]; then
"$EMULATOR" "$STAGE/usr/bin/wordcraft-cli" --version
# Set, so the CLI doesn't restart itself to apply it (malloc_tuning, #7914): under user-mode
# QEMU without binfmt the kernel can't run the restarted foreign binary, and glibc hands it to /bin/sh.
MALLOC_TRIM_THRESHOLD_=131072 "$EMULATOR" "$STAGE/usr/bin/wordcraft-cli" --version
fi
echo "==> done"
ls -lh "$DIST"