Compiling rust app with relibc
Rust Internals [Unofficial]
June 7, 2026
You'd need to add a new target, <arch>-unknown-linux-relibc, set target_env = "relibc" and then you can use that cfg in the standard library the same way as musl.
The libc is part of the target.
Discussion in the ATmosphere