Why the target is x86_64-unknown-linux-musl? #306
|
Looks like the target is x86_64 archtecture. Could you explain on why the target is x86_64 archtecture? Thanks! |
Answered by
davidbarsky
Mar 15, 2021
Replies: 1 comment 6 replies
|
(Moved this to discussions instead of an issue). Assuming that you're asking why we're using With the launch of the |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Moved this to discussions instead of an issue).
Assuming that you're asking why we're using
x86_64-unknown-linux-muslinstead ofx86_64-unknown-linux-gnu, it's because theprovidedenvironment had a glibc that's too old for Rust. Statically linking the musl libc is a good way to get around that.With the launch of the
provided.al2environment, the glibc is recent enough for Rust, which means that if folks are targetingprovided.al2, then they can use x86_64-unknown-linux-gnu as a target instead.