Error: failed to run custom build command for `libc v0.2.150`

I'm afraid I have no clue what could be going on here. aarch64-apple-darwin rustc is the most likely to work on Apple Silicon as it doesn't use Rosetta 2. But that was exactly where your original issue came from.