Uh oh!
There was an error while loading. Please reload this page.
Add armv5te-unknown-linux-musl target - #50423
Conversation
rust-highfive
commented
May 3, 2018
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
alexcrichton
commented
May 3, 2018
Thanks! Could the docker image here be moved to |
@alexcrichton I'd like this target to be included in the tier 2 platform support like the By the way, I noticed that in the target names both |
nagisa
commented
May 3, 2018
|
alexcrichton
commented
May 3, 2018
Ah yeah adding to an existing container is best as it doesnt take up another builder with Travis, if that can be done then we can ship this yeah |
hberntsen
commented
May 4, 2018
@alexcrichton Thanks! I've applied the suggested changes |
alexcrichton
commented
May 4, 2018
@bors: r+ Thanks! |
bors
commented
May 4, 2018
📌 Commit 235af75 has been approved by |
…l, r=alexcrichton Add armv5te-unknown-linux-musl target This PR adds the armv5te-unknown-linux-musl target. The following steps should let you produce a fully statically linked binary now: 1. Running `./src/ci/docker/run.sh dist-armv5te-linux-musl` 2. Changing the run.sh script to start bash instead of the build process and running the container 3. ```sh export USER=root export PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin:$PATH ``` 4. Configuring Cargo ```yaml [target.armv5te-unknown-linux-musl] linker = "arm-linux-gnueabi-gcc" ``` 5. Building a project ```sh cargo new --bin hello cd hello cargo build --target=armv5te-unknown-linux-musl --release ```
bors
commented
May 5, 2018
…ichton Add armv5te-unknown-linux-musl target This PR adds the armv5te-unknown-linux-musl target. The following steps should let you produce a fully statically linked binary now: 1. Running `./src/ci/docker/run.sh dist-armv5te-linux-musl` 2. Changing the run.sh script to start bash instead of the build process and running the container 3. ```sh export USER=root export PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin:$PATH ``` 4. Configuring Cargo ```yaml [target.armv5te-unknown-linux-musl] linker = "arm-linux-gnueabi-gcc" ``` 5. Building a project ```sh cargo new --bin hello cd hello cargo build --target=armv5te-unknown-linux-musl --release ```
bors
commented
May 5, 2018
☀️ Test successful - status-appveyor, status-travis |
This PR adds the armv5te-unknown-linux-musl target. The following steps should let you produce a fully statically linked binary now:
./src/ci/docker/run.sh dist-armv5te-linux-muslcargo new --bin hello cd hello cargo build --target=armv5te-unknown-linux-musl --release