Skip to content

Fix a serialization error on publish #4085

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 1 commit into from
May 22, 2017
Merged

Conversation

alexcrichton
Copy link
Member

In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes #4081

@alexcrichton
Copy link
Member Author

r? @matklad

@rust-highfive rust-highfive assigned matklad and unassigned brson May 22, 2017
@rust-highfive
Copy link

r? @brson

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

@matklad
Copy link
Member

matklad commented May 22, 2017

@bors r+

@alexcrichton You've said you've run the original code in the rewriting PR on tons of crates. If you have an infra for that left somewhere, it might be useful to do the same again, with the new implementation.

@matklad
Copy link
Member

matklad commented May 22, 2017

CI failure seems legit.

@Mark-Simulacrum
Copy link
Member

@bors r-

In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes rust-lang#4081
@alexcrichton
Copy link
Member Author

@matklad yeah unfortunately I didn't re-run it with the most recent version, but I should try to do so again!

@bors: r=matklad

@bors
Copy link
Contributor

bors commented May 22, 2017

📌 Commit d1e70e4 has been approved by matklad

@bors
Copy link
Contributor

bors commented May 22, 2017

⌛ Testing commit d1e70e4 with merge 9fcdbb4...

bors added a commit that referenced this pull request May 22, 2017
Fix a serialization error on publish

In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes #4081
@bors
Copy link
Contributor

bors commented May 22, 2017

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

@bors bors merged commit d1e70e4 into rust-lang:master May 22, 2017
@alexcrichton alexcrichton deleted the fix-rewrite branch June 2, 2017 01:20
@ehuss ehuss added this to the 1.19.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.

cargo publish fails with "ValueAfterTable" error
7 participants