diff options
| author | bors <bors@rust-lang.org> | 2020-04-10 09:51:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-10 09:51:27 +0000 |
| commit | 167510f776891f2b0b18d1168ed42377a63493a7 (patch) | |
| tree | b492aba3be3ec267e6057fac0d97f3b41e83691f /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 96d77f0e5f103612d62b85938aacfb33f5768433 (diff) | |
| parent | a61a7c599379c068d97119fcbd9a949e8282b1cc (diff) | |
| download | rust-167510f776891f2b0b18d1168ed42377a63493a7.tar.gz rust-167510f776891f2b0b18d1168ed42377a63493a7.zip | |
Auto merge of #70619 - etherealist:musl_lld, r=Mark-Simulacrum
Enable rust-lld on dist-x86_64-musl Add rust-lld to rustup llvm-tools-preview on nightly for musl I am using a musl distro on my workstation, with `RUSTFLAGS="-C target-feature=-crt-static"` this works fine. I know that `x86_64-unknown-linux-musl` was originally only meant as a target and not as a host. But most problems have been fixed, and I have fewer problems with `unknown` (rustup) than when I am using `x86_64-alpine-linux-musl` (rust installed by the distro). The only thing I am missing is rust-lld in llvm-tools-preview on nightly. I needed rust-lld for a wasm tutorial. I built rust-lld and tested it with that tutorial, and it worked well. I asked [here](https://users.rust-lang.org/t/enable-rust-lld-on-x86-64-unknown-linux-musl/39851) where to request to enable lld and ended up doing this PR. I compared llvm-tools-preview `nightly-x86_64-unknown-linux-musl` and `nightly-x86_64-unknown-linux-gnu`: only rust-lld is missing in musl. I tested the change using: ```bash ./src/ci/docker/run.sh dist-x86_64-musl ``` And I checked that the resulting rust-lld binary runs.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
