diff options
| author | bors <bors@rust-lang.org> | 2016-09-07 15:45:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-07 15:45:14 -0700 |
| commit | a7b2232d20320dc3b4044a2aec1d51a129e7e17d (patch) | |
| tree | 1b04fa3fb7c69183e8254b76c089f4bff8803e1f /src/liballoc_system | |
| parent | 9627e9ef6e0183e50b6a985143d31d82bda31cfe (diff) | |
| parent | 8cfc69ecea9874ad28253ecc47d50099f9e7001e (diff) | |
| download | rust-a7b2232d20320dc3b4044a2aec1d51a129e7e17d.tar.gz rust-a7b2232d20320dc3b4044a2aec1d51a129e7e17d.zip | |
Auto merge of #36292 - japaric:musl-root, r=alexcrichton
rustbuild: per target musl-root
config.toml now accepts a target.$TARGET.musl-root key that lets you
override the "build" musl-root value, which is set via the --musl-root
flag or via the build.musl-root key.
With this change, it's now possible to compile std for several musl
targets at once. Here's are the sample commands to do such thing:
```
$ configure \
--enable-rustbuild \
--target=x86_64-unknown-linux-musl,arm-unknown-linux-musleabi \
--musl-root=/musl/x86_64-unknown-linux-musl/
$ edit config.toml && tail config.toml
[target.arm-unknown-linux-musleabi]
musl-root = "/x-tools/arm-unknown-linux-musleabi/arm-unknown-linux-musleabi/sysroot/usr"
$ make
```
r? @alexcrichton
With this we should be able to start producing releases of std for arm musl targets
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
