Skip to content

Commit

Permalink
Add x86_64-unknown-linux-musl build support
Browse files Browse the repository at this point in the history
  • Loading branch information
martell committed Oct 11, 2018
1 parent 1e51b07 commit 6de827e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ matrix:
DOCKER=s390x-unknown-linux-gnu
SKIP_TESTS=1
if: branch != master
- os: linux
env: TARGET=x86_64-unknown-linux-musl
DOCKER=x86_64-unknown-linux-musl
SKIP_TESTS=1
if: branch != master


# Android use a local docker image
- os: linux
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ platform of your choice:
- [x86_64-pc-windows-msvc](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)<sup>[](#vs2015)</sup>
- [x86_64-unknown-freebsd](https://static.rust-lang.org/rustup/dist/x86_64-unknown-freebsd/rustup-init)
- [x86_64-unknown-linux-gnu](https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init)
- [x86_64-unknown-linux-musl](https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-musl/rustup-init)
- [x86_64-unknown-netbsd](https://static.rust-lang.org/rustup/dist/x86_64-unknown-netbsd/rustup-init)

<a name="vs2015">†</a>
Expand Down
11 changes: 11 additions & 0 deletions ci/docker/x86_64-unknown-linux-musl/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM alpine:3.8

RUN apk update && \
apk add \
curl \
ca-certificates \
perl \
make \
gcc

ENV CC_x86_64_unknown_linux_musl=gcc

0 comments on commit 6de827e

Please sign in to comment.