Here is a bunch of functions that need to be defined when compiling rustc for musl:
And functions that actually need to be implemented for rustc to not crash:
I may be missing some as I got a frankenstein combination of musl's dynamic linker (+ part of musl libc) and eyra that I used for testing.
Edit: Moved the posix_spawn family to #167 as cargo needs actual implementations.