Skip to content

Add the new description field to Target::to_json, and add descriptions for some MSVC targets#122157

Merged
bors merged 1 commit intorust-lang:masterfrom
dpaoliello:targetdesc
Mar 8, 2024
Merged

Add the new description field to Target::to_json, and add descriptions for some MSVC targets#122157
bors merged 1 commit intorust-lang:masterfrom
dpaoliello:targetdesc

Conversation

@dpaoliello
Copy link
Contributor

The original PR to add a description field to Target (#121905) didn't add the field to Target::to_json, which meant that the check_consistency testwould fail if you tried to set a description as it wouldn't survive round-tripping via JSON: https://github.com/rust-lang/rust/actions/runs/8180997936/job/22370052535#step:27:4967

This change adds the field to Target::to_json, and sets some descriptions to verify that it works correctly.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants