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

Add support for custom target-specific runners #3954

Merged
merged 4 commits into from
May 13, 2017

Commits on May 12, 2017

  1. Add support for custom target-specific runners

    When `target.$triple.runner` is specified, it will be used for any execution commands by cargo including `cargo run`, `cargo test` and `cargo bench`. The original file is passed to the runner executable as a first argument.
    
    This allows to run tests when cross-comping Rust projects.
    
    This is not a complete solution, and might be extended in future for better ergonomics to support passing extra arguments to the runner itself or overriding runner from command line, but it should already unlock major existing usecases.
    
    Fixes rust-lang#1411
    Resolves rust-lang#3626
    RReverser committed May 12, 2017
    Configuration menu
    Copy the full SHA
    e1a85a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    058e805 View commit details
    Browse the repository at this point in the history
  3. Allow runner params

    RReverser committed May 12, 2017
    Configuration menu
    Copy the full SHA
    851a284 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2017

  1. Fix tidy error

    RReverser committed May 13, 2017
    Configuration menu
    Copy the full SHA
    0f1c687 View commit details
    Browse the repository at this point in the history