Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

musl image #10

Closed
mcandre opened this issue Oct 22, 2017 · 16 comments
Closed

musl image #10

mcandre opened this issue Oct 22, 2017 · 16 comments

Comments

@mcandre
Copy link

mcandre commented Oct 22, 2017

Would be nice to feature a :musl tag for building musl Rust binaries!

As an example, see https://github.com/mcandre/docker-linux-rust/blob/master/musl.Dockerfile

@sfackler
Copy link
Member

sfackler commented Oct 23, 2017 via email

@shepmaster
Copy link
Member

The playground would also make good use of this :-)

Right now, we use an unofficial image.

@mbrubeck
Copy link

https://github.com/japaric/cross has Docker images that include musl toolchains/libraries.

@vbrandl
Copy link

vbrandl commented Jun 19, 2018

I would also love to see an official image to link binaries against musl, since they are truly statically linked. Currently I'm using ekidd/rust-musl-builder which might be a good base to use.

@kpcyrd
Copy link

kpcyrd commented Jun 19, 2018

This is blocked on official dists targeting musl.

@sfackler Is there a tracking issue that we can link this issue to? :)

@sfackler
Copy link
Member

I'm not aware of one off the top of my head.

@ZapAnton
Copy link

rust 1.35 added a support for the musl distros
Could it help in resolving this issue?

@sfackler
Copy link
Member

It looks like rustup doesn't yet publish a musl-based version, so we'd need to get that done first: rust-lang/rustup#1053

@mati865
Copy link

mati865 commented May 27, 2019

It's less convenient but you can use tarballs until rustup is fixed: https://forge.rust-lang.org/other-installation-methods.html#standalone

@DrSensor
Copy link

DrSensor commented Jun 3, 2019

Seems like rust-lang/rustup#1053 just resolved recently

@sfackler
Copy link
Member

sfackler commented Jun 4, 2019

Great! It appears that a musl build isn't actually published yet, so we may need to wait for the next rustup release.

@softprops
Copy link

Whats the status on this?

@mati865
Copy link

mati865 commented Aug 17, 2019

There is no change on Rustup situation. It can only be installed using tarballs.

@DrSensor
Copy link

@sfackler, what is the blocker this time? 🤔

@sfackler
Copy link
Member

There is no musl build of rustup yet.

@ZapAnton
Copy link

ZapAnton commented Sep 9, 2019

Rustup version 1.19 was just published with the rust-lang/rustup#1882 resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants