diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-09-06 01:04:41 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-09-06 01:04:41 -0500 |
| commit | 8df4a768a7e98a594bd7a2d70a7bdcec14bc0518 (patch) | |
| tree | ada8ec7fd7b5b5a1e555e513bd3badc586efbfc9 /src/liballoc_system | |
| parent | e77d86c142ae668038dd43594d04022cbd6bf4d8 (diff) | |
| download | rust-8df4a768a7e98a594bd7a2d70a7bdcec14bc0518.tar.gz rust-8df4a768a7e98a594bd7a2d70a7bdcec14bc0518.zip | |
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
```
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
