about summary refs log tree commit diff
path: root/src/build_helper
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-02-19 16:06:47 +0100
committerJakub Beránek <berykubik@gmail.com>2025-03-04 12:30:41 +0100
commit2e5ab4e6a07a9ebdb6e593ca19112148250e6906 (patch)
tree70ac1a7cd6be0ca2a5fc84239b95caf89dc2cb79 /src/build_helper
parent6463590f0ce9ae9113bba171d8f9ea0d64c7e47a (diff)
downloadrust-2e5ab4e6a07a9ebdb6e593ca19112148250e6906.tar.gz
rust-2e5ab4e6a07a9ebdb6e593ca19112148250e6906.zip
Store bootstrap command-line into metrics
Diffstat (limited to 'src/build_helper')
-rw-r--r--src/build_helper/src/metrics.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_helper/src/metrics.rs b/src/build_helper/src/metrics.rs
index 538c33e9b15..c9be63ed534 100644
--- a/src/build_helper/src/metrics.rs
+++ b/src/build_helper/src/metrics.rs
@@ -12,6 +12,8 @@ pub struct JsonRoot {
 #[derive(Serialize, Deserialize)]
 #[serde(rename_all = "snake_case")]
 pub struct JsonInvocation {
+    // Remembers the command-line invocation with which bootstrap was invoked.
+    pub cmdline: String,
     // Unix timestamp in seconds
     //
     // This is necessary to easily correlate this invocation with logs or other data.