This approach to deterministically building statically linked Rust binaries is based on cross and Nix, where the former does the heavy-lifting for cross-building, and the latter makes the builds reproducible.
In the directory root of the repository
make cross-rs
# `make cr-clean` to clean up