Show HN: First native zeroclaw build on Android/Termux (aarch64, no proot)

2 points by bleaknarratives ↗ HN
Zeroclaw is a Rust-based Nostr client/relay tool. As of a few hours ago, no one had compiled it natively on Android.

Gemini CLI tried. Gemini Android tried. Both failed.

The blockers: — koffi's build script passes `make -j` bare, which Termux's make rejects — The default linker OOM-kills during the final link step (Android blocks swapon for unprivileged processes)

The fix: mold linker + codegen-units=1 + lto=thin + opt-level=z in a .cargo/config.toml

Binary: 15.5MB. Build time: 23m 55s. Kernel: Linux 5.4.284-moto. Completed at 04:11:47 CST.

Repo with binary, build config, and full reproduction steps: https://github.com/BleakNarratives/zeroclaw-android

0 comments

[ 2.9 ms ] story [ 9.0 ms ] thread

No comments yet.