I&#x27;ve done that once but since building rustc requires a specific nightly I&#x27;d need a glibc environment each time I want to build rustc. Replacing the glibc builds with a musl static build (not targeting but built with musl statically and no glibc requirement) would give us a single binary that works on Alpine and Ubuntu. If that&#x27;s not an option I&#x27;d welcome a musl variant that&#x27;s automatically installed by rustup when on Alpine or VoidLinux musl edition or any other musl linux environment.