# musl
*musl is a C standard library intended for operating systems based on the Linux kernel, released under the MIT License.[3] It was developed by Rich Felker with the goal to write a clean, efficient and standards-conformant libc implementation.[4]*
*==musl was designed from scratch to allow efficient static linking== and to have realtime-quality robustness by avoiding race conditions, internal failures on resource exhaustion and various other bad worst-case behaviors present in existing implementations.[4] The dynamic runtime is a single file with stable ABI allowing race-free updates and the static linking support allows an application to be deployed as a single portable binary without significant size overhead.*
https://en.wikipedia.org/wiki/Musl
- [Official Git repo](http://git.etalabs.net/cgit/musl/)
- [Unofficial GitHub mirror](https://github.com/bminor/musl)
### Add musl as a [[rustup]] target
```bash
rustup target add x86_64-unknown-linux-musl
```
### musl distributions available as [[rustup]] targets
These are listed on the [platform page](https://doc.rust-lang.org/rustc/platform-support.html) in the rustc book:
Tier 1: None
Tier 2:
- `aarch64-unknown-linux-musl`
- `x86_64-unknown-linux-musl`
Tier 3: A lot more, go to the [platform support page](https://doc.rust-lang.org/rustc/platform-support.html) to see