Skip to content

Why the target is x86_64-unknown-linux-musl? #306

Answered by davidbarsky
awsa2ron asked this question in Q&A
Discussion options

You must be logged in to vote

(Moved this to discussions instead of an issue).

Assuming that you're asking why we're using x86_64-unknown-linux-musl instead of x86_64-unknown-linux-gnu, it's because the provided 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 targeting provided.al2, then they can use x86_64-unknown-linux-gnu as a target instead.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@awsa2ron
Comment options

@davidbarsky
Comment options

@seanpianka
Comment options

@davidbarsky
Comment options

@goshoo
Comment options

Answer selected by awsa2ron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #305 on March 15, 2021 18:48.