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

Parse unsupported crate type error more tightly #7364

Merged
merged 2 commits into from
Sep 16, 2019

Conversation

phil-opp
Copy link
Contributor

Fixes #7363

Instead of adding a new test, we could also rename the target file in an existing custom target test if you prefer.

This avoids issues when the target name contains the crate type, e.g. `bin` in `custom-bin-target.json`.
The custom target name contains the crate type `bin`.
@rust-highfive
Copy link

r? @ehuss

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 16, 2019
@alexcrichton
Copy link
Member

@bors: r+

👍

@bors
Copy link
Contributor

bors commented Sep 16, 2019

📌 Commit a5edf21 has been approved by alexcrichton

@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 Sep 16, 2019
@bors
Copy link
Contributor

bors commented Sep 16, 2019

⌛ Testing commit a5edf21 with merge be01054...

bors added a commit that referenced this pull request Sep 16, 2019
Parse `unsupported crate type` error more tightly

Fixes #7363

Instead of adding a new test, we could also rename the target file in an existing custom target test if you prefer.
@bors
Copy link
Contributor

bors commented Sep 16, 2019

☀️ Test successful - checks-azure
Approved by: alexcrichton
Pushing be01054 to master...

@bors bors merged commit a5edf21 into rust-lang:master Sep 16, 2019
@ehuss ehuss added this to the 1.39.0 milestone Feb 6, 2022
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.

Custom target names containing bin lead to 'failed to parse the cfg from rustc --print=cfg' error
5 participants