Specifically for Rust, my advice would be to use gnu/glibc when possible if performance matters as musl binaries can be factors of 10 slower especially when multi-threading is important as musl's standard standard allocator is very bad in that case.
For Rust, there are known performance issues when using musl binaries. This was reported in 2020 but still seems to be an issue in 2023. It might be fixable by not using the default allocator, but in general, things like multi-threading seem to suffer a lot for musl compared to glibc.
In one stark case I reported here, the musl flavor does not parallelize at all (it even gets slower in real time, the more threads you use), while the glibc flavor parallelizes almost perfectly (i.e. 10x number of threads reduces wall clock by almost 10x). In this case, this means musl is more than 30 times slower than the glibc version!