Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustbuild: per target musl-root #36292

Merged
merged 2 commits into from
Sep 8, 2016
Merged

rustbuild: per target musl-root #36292

merged 2 commits into from
Sep 8, 2016

Commits on Sep 6, 2016

  1. 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
    ```
    Jorge Aparicio committed Sep 6, 2016
    Configuration menu
    Copy the full SHA
    8df4a76 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2016

  1. add utility musl_root method, update config.toml.example

    Jorge Aparicio committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    8cfc69e View commit details
    Browse the repository at this point in the history