diff options
| author | bors <bors@rust-lang.org> | 2018-05-05 06:03:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-05 06:03:47 +0000 |
| commit | fc6b2c5fefa3e8793a5cab00a2d354d79137a306 (patch) | |
| tree | 05a16a7a17c79c22117cbf76be085359955faa5d /src/rustllvm/RustWrapper.cpp | |
| parent | 5d6c757268434c55763b897a754cb2593d7af588 (diff) | |
| parent | 235af75d15860503f4f358ce2ad7b806d1b7f514 (diff) | |
| download | rust-fc6b2c5fefa3e8793a5cab00a2d354d79137a306.tar.gz rust-fc6b2c5fefa3e8793a5cab00a2d354d79137a306.zip | |
Auto merge of #50423 - hberntsen:armv5te_unknown_linux_musl, 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 ```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
