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

fix target & runtool args order #71002

Merged
merged 1 commit into from
Apr 15, 2020
Merged

fix target & runtool args order #71002

merged 1 commit into from
Apr 15, 2020

Conversation

Freax13
Copy link
Contributor

@Freax13 Freax13 commented Apr 10, 2020

  • TargetTripple::to_string converts "path triples" to <target>-<hash>, but in this case we need the path. Afaict there is no method to get the real triple other than manually matching
  • the order of the runtools arguments is inconsistent with the way tests usually pass arguments ie using runner key in .cargo/config

@Dylan-DPC-zz
Copy link

r? @ollie27

@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 12, 2020
@Freax13
Copy link
Contributor Author

Freax13 commented Apr 14, 2020

@Dylan-DPC could you try assigning another reviewer?

@GuillaumeGomez
Copy link
Member

The code looks good to me but it's been a while I didn't work on this part so I don't feel confident enough to merge it.

cc @ollie27

@ollie27
Copy link
Member

ollie27 commented Apr 14, 2020

Sorry for the delay.

This looks good to me. This could do with tests but we can merge it in the meantime.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 14, 2020

📌 Commit 54b5d30 has been approved by ollie27

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 14, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 14, 2020
fix target & runtool args order

- `TargetTripple::to_string` converts "path triples" to `<target>-<hash>`, but in this case we need the path. Afaict there is no method to get the real triple other than manually matching
- the order of the runtools arguments is inconsistent with the way tests usually pass arguments ie using `runner` key in `.cargo/config`
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 15, 2020
Rollup of 8 pull requests

Successful merges:

 - rust-lang#70657 (Allow `try`-blocks in places where an open delim is expected)
 - rust-lang#70947 (tighten CTFE safety net for accesses to globals)
 - rust-lang#70949 (simplify `vec!` macro)
 - rust-lang#71002 (fix target & runtool args order)
 - rust-lang#71082 (ptr: introduce len() method on raw slices)
 - rust-lang#71128 (Remove unused single_step flag)
 - rust-lang#71133 (Tighten time complexity on the doc of sort_by_key)
 - rust-lang#71135 (Update books)

Failed merges:

r? @ghost
@bors bors merged commit 119e32b into rust-lang:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants