Skip to content

Commit

Permalink
Add note about rustc --json CONFIG to the implementation questions …
Browse files Browse the repository at this point in the history
…section.
pnkfelix committed Dec 30, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6e1bb2d commit c862283
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions text/0000-cargo-report-future-incompat.md
Original file line number Diff line number Diff line change
@@ -584,6 +584,12 @@ I have not explicitly addressed nor seriously investigated this.

* Is using `--error-format=json` as the way to switch `rustc` into the future-incompatibility checking mode reasonable?

* An variant on the strategy:
we could use the `--json CONFIG` option to `rustrc` as a way for
`cargo` to opt into the feature.
This way, clients already using `--error-format=json`
would not need to know abot this change.

# Future possibilities
[future-possibilities]: #future-possibilities

0 comments on commit c862283

Please sign in to comment.