Karl Ding
Karl Ding
One alternative here might be to [use `zig` as the linker](https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html) and then cross-compile using [`cargo-zigbuild`](https://github.com/rust-cross/cargo-zigbuild), assuming the target is supported by `rustc` (see `rustc --print=target-list`)? Taking `aarch64-unknown-linux-gnu` as an...
Theoretically programs can exit with arbitrary values in the range of `[INT_MIN, INT_MAX]`, however at least for Linux in practice this is bounded by `wait`/`waitpid` when using `WEXITSTATUS` as according...