From 1f5782793a049838a692a6be93a61d254a8b7b59 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 8 Mar 2021 08:23:17 -0800 Subject: [PATCH] Add documentation for JSON message_path. --- src/doc/src/reference/external-tools.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/src/reference/external-tools.md b/src/doc/src/reference/external-tools.md index 70030a7f3a4..58f4787d188 100644 --- a/src/doc/src/reference/external-tools.md +++ b/src/doc/src/reference/external-tools.md @@ -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. @@ -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. */