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

Fix missing messages when --message-format=json is deeply nested #6081

Merged
merged 1 commit into from
Sep 24, 2018
Merged

Fix missing messages when --message-format=json is deeply nested #6081

merged 1 commit into from
Sep 24, 2018

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Sep 23, 2018

This commit switches from serde_json::Value to RawValue, which can process arbitrarily deeply nested JSON content without recursion.

Fixes #5992. @ehuss

This commit switches from serde_json::Value to RawValue, which can
process arbitrarily deeply nested JSON content without recursion.
@rust-highfive
Copy link

r? @matklad

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

@alexcrichton
Copy link
Member

@bors: r+

Clever solution! Thanks so much @dtolnay!

@bors
Copy link
Contributor

bors commented Sep 24, 2018

📌 Commit d1218d2 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Sep 24, 2018

⌛ Testing commit d1218d2 with merge 9189dabd083bc826ff66e7598582cbfd665c2168...

@bors
Copy link
Contributor

bors commented Sep 24, 2018

💔 Test failed - status-appveyor

@ehuss
Copy link
Contributor

ehuss commented Sep 24, 2018

@bors retry

spurious windows changing_bin_paths_common_target_features_caches_targets

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Sep 24, 2018

⌛ Testing commit d1218d2 with merge b2b34ac...

bors added a commit that referenced this pull request Sep 24, 2018
Fix missing messages when --message-format=json is deeply nested

This commit switches from `serde_json::Value` to [`RawValue`](https://docs.rs/serde_json/1.0/serde_json/value/struct.RawValue.html), which can process arbitrarily deeply nested JSON content without recursion.

Fixes #5992. @ehuss
@bors
Copy link
Contributor

bors commented Sep 24, 2018

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

@bors bors merged commit d1218d2 into rust-lang:master Sep 24, 2018
@ehuss ehuss added this to the 1.31.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.

--message-format=json doesn't emit every error message
6 participants