Skip to content

Commit 10b43bb

Browse files
michaelwoeristerwesleywiser
authored andcommitted
Enable self-profiling by default for testing.
1 parent 7f23917 commit 10b43bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
14311431
"don't interleave execution of lints; allows benchmarking individual lints"),
14321432
crate_attr: Vec<String> = (Vec::new(), parse_string_push, [TRACKED],
14331433
"inject the given attribute in the crate"),
1434-
self_profile: bool = (false, parse_bool, [UNTRACKED],
1434+
self_profile: bool = (true, parse_bool, [UNTRACKED],
14351435
"run the self profiler and output the raw event data"),
14361436
self_profile_event_filters: Option<Vec<String>> = (None, parse_opt_comma_list, [UNTRACKED],
14371437
"specifies which kinds of events get recorded by the self profiler"),

0 commit comments

Comments
 (0)