Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Fix disallowing duplicate table headers #280

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Fix disallowing duplicate table headers #280

merged 1 commit into from
Jan 8, 2019

Conversation

alexcrichton
Copy link
Collaborator

This commit fixes #279 where a case of duplicate table headers slipped
through the cracks. This also adds an option to disable this new
validation to allow Cargo to preserve backwards compatibility.

This commit fixes #279 where a case of duplicate table headers slipped
through the cracks. This also adds an option to disable this new
validation to allow Cargo to preserve backwards compatibility.
@alexcrichton
Copy link
Collaborator Author

r? @ehuss

@ehuss
Copy link
Collaborator

ehuss commented Jan 8, 2019

Nice! I like the workspace, too, was wondering why that hadn't been done earlier.

@ehuss ehuss merged commit d0977ab into master Jan 8, 2019
@alexcrichton alexcrichton deleted the fix-duplicate branch March 18, 2019 14:29
alexcrichton added a commit to alexcrichton/cargo that referenced this pull request Mar 18, 2019
The 0.5.0 release contained a
[bugfix](toml-rs/toml-rs#280) which
previously successfully parsed invalid TOML files, so we'll need to
manually handle that in Cago to ensure that we don't accidentally
regress crates, but rather instead give them an appropriate amount of
time to get fixed.
bors added a commit to rust-lang/cargo that referenced this pull request Mar 19, 2019
Handle backcompat hazard with `toml` crate

The 0.5.0 release contained a
[bugfix](toml-rs/toml-rs#280) which
previously successfully parsed invalid TOML files, so we'll need to
manually handle that in Cago to ensure that we don't accidentally
regress crates, but rather instead give them an appropriate amount of
time to get fixed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate table not detected.
2 participants