about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorRyan Levick <me@ryanlevick.com>2021-07-23 16:25:58 +0200
committerRyan Levick <me@ryanlevick.com>2021-10-07 14:22:29 +0200
commit947a33bf206e8bec15a9734e217cd540b8a2fb5c (patch)
treea2c210053fd367e15fe57c2ea2a3288edbbfef48 /compiler/rustc_session/src
parentca8078d7b2e40c24a39e5fe2a910afef4c91ebfc (diff)
downloadrust-947a33bf206e8bec15a9734e217cd540b8a2fb5c.tar.gz
rust-947a33bf206e8bec15a9734e217cd540b8a2fb5c.zip
Add support for artifact size profiling
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 8ecb7a031ad..b7f4396f9d7 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1279,7 +1279,7 @@ options! {
         "specify the events recorded by the self profiler;
         for example: `-Z self-profile-events=default,query-keys`
         all options: none, all, default, generic-activity, query-provider, query-cache-hit
-                     query-blocked, incr-cache-load, incr-result-hashing, query-keys, function-args, args, llvm"),
+                     query-blocked, incr-cache-load, incr-result-hashing, query-keys, function-args, args, llvm, artifact-sizes"),
     share_generics: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "make the current crate share its generic instantiations"),
     show_span: Option<String> = (None, parse_opt_string, [TRACKED],