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

tweak error message #5250

Merged
merged 2 commits into from
Mar 27, 2018
Merged

tweak error message #5250

merged 2 commits into from
Mar 27, 2018

Conversation

rleungx
Copy link
Contributor

@rleungx rleungx commented Mar 27, 2018

Closes #5238.

unit.pkg,
self.target_triple()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be extra nice here and do something like

bail!("crate type{}", if unsupported.len() == 1 "" else "s")

?

@matklad
Copy link
Member

matklad commented Mar 27, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Mar 27, 2018

📌 Commit 29c0169 has been approved by matklad

@rleungx
Copy link
Contributor Author

rleungx commented Mar 27, 2018

@matklad It seems that 967f094 should be approved. I rebased the commit and sorry for that.

@matklad
Copy link
Member

matklad commented Mar 27, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Mar 27, 2018

📌 Commit 967f094 has been approved by matklad

@bors
Copy link
Contributor

bors commented Mar 27, 2018

⌛ Testing commit 967f094 with merge 6b8d589...

bors added a commit that referenced this pull request Mar 27, 2018
@bors
Copy link
Contributor

bors commented Mar 27, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing 6b8d589 to master...

@bors bors merged commit 967f094 into rust-lang:master Mar 27, 2018
@ehuss ehuss added this to the 1.26.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross compiling error message about unsupported crates is not helpful
4 participants