diff options
| author | Jane Losare-Lusby <jlusby@yaah.dev> | 2024-07-31 11:47:07 -0700 |
|---|---|---|
| committer | Jane Losare-Lusby <jlusby@yaah.dev> | 2024-08-07 11:16:55 -0700 |
| commit | 5212c759076c4b4ada74c86979bb298ec0a8a5fb (patch) | |
| tree | f663f3c8e414eaf8b29cbe2daeb3a4b98e5b4c8c /compiler/rustc_session/src | |
| parent | 2b78d920964e1d70927bcd208529bda0e11120d0 (diff) | |
| download | rust-5212c759076c4b4ada74c86979bb298ec0a8a5fb.tar.gz rust-5212c759076c4b4ada74c86979bb298ec0a8a5fb.zip | |
Add -Zerror-metrics=PATH to save diagnostic metadata to disk
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index bf54aae1cfe..4b87f5d62b2 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1827,6 +1827,8 @@ options! { the same values as the target option of the same name"), meta_stats: bool = (false, parse_bool, [UNTRACKED], "gather metadata statistics (default: no)"), + metrics_dir: Option<PathBuf> = (None, parse_opt_pathbuf, [UNTRACKED], + "stores metrics about the errors being emitted by rustc to disk"), mir_emit_retag: bool = (false, parse_bool, [TRACKED], "emit Retagging MIR statements, interpreted e.g., by miri; implies -Zmir-opt-level=0 \ (default: no)"), |
