Skip to content

Commit

Permalink
Auto merge of #9247 - ehuss:doc-json-manifest_path, r=alexcrichton
Browse files Browse the repository at this point in the history
Add documentation for JSON message_path.

Documentation for the feature added in #9022.
  • Loading branch information
bors committed Mar 8, 2021
2 parents c4da0c5 + 1f57827 commit e78f1c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/src/reference/external-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ structure:
"reason": "compiler-message",
/* The Package ID, a unique identifier for referring to the package. */
"package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
/* Absolute path to the package manifest. */
"manifest_path": "/path/to/my-package/Cargo.toml",
/* The Cargo target (lib, bin, example, etc.) that generated the message. */
"target": {
/* Array of target kinds.
Expand Down Expand Up @@ -129,6 +131,8 @@ following structure:
"reason": "compiler-artifact",
/* The Package ID, a unique identifier for referring to the package. */
"package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
/* Absolute path to the package manifest. */
"manifest_path": "/path/to/my-package/Cargo.toml",
/* The Cargo target (lib, bin, example, etc.) that generated the artifacts.
See the definition above for `compiler-message` for details.
*/
Expand Down

0 comments on commit e78f1c8

Please sign in to comment.