Skip to content

Add a default template for Cargo.toml #5782

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

Merged
merged 4 commits into from
Jul 24, 2018
Merged

Conversation

dwijnand
Copy link
Member

Fixes #5743

r? @alexcrichton

dwijnand added 4 commits July 24, 2018 11:35
Looks like cargo traverses the filesystem & fails if it runs into a
Cargo.toml that doesn't declare a target.  I couldn't find a nice way to
re-engineer the test to avoid this issue.  So I'll leave that as someone
else's exercise.
@alexcrichton
Copy link
Member

@bors: r+

Awesome, thanks so much!

@bors
Copy link
Contributor

bors commented Jul 24, 2018

📌 Commit 081e793 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jul 24, 2018

⌛ Testing commit 081e793 with merge 25f33c2a01af74d2e4546ad16b714079678e4fa9...

@bors
Copy link
Contributor

bors commented Jul 24, 2018

💔 Test failed - status-travis

@dwijnand
Copy link
Member Author

I think(?) the test failure is spurious as I don't even touch build_script::output_separate_lines.

@ehuss
Copy link
Contributor

ehuss commented Jul 24, 2018

I think the error is the same as #5482. I think that rustc is printing its error before cargo gets a chance to say "Running".

@ehuss
Copy link
Contributor

ehuss commented Jul 24, 2018

@bors retry

@bors
Copy link
Contributor

bors commented Jul 24, 2018

⌛ Testing commit 081e793 with merge 4e53ce4...

bors added a commit that referenced this pull request Jul 24, 2018
Add a default template for Cargo.toml

Fixes #5743

r? @alexcrichton
@bors
Copy link
Contributor

bors commented Jul 24, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 4e53ce4 to master...

@bors bors merged commit 081e793 into rust-lang:master Jul 24, 2018
@dwijnand dwijnand deleted the dedup-manifest branch July 24, 2018 21:46
@ehuss ehuss added this to the 1.29.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.

test cleanup: Add a default template for Cargo.toml
4 participants