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! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
(Moved this to discussions instead of an issue). Assuming that you're asking why we're using With the launch of the |
Beta Was this translation helpful? Give feedback.
(Moved this to discussions instead of an issue).
Assuming that you're asking why we're using
x86_64-unknown-linux-musl
instead ofx86_64-unknown-linux-gnu
, it's because theprovided
environment 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.al2
environment, 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.