diff options
author | Cameron McCormack <cam@mcc.id.au> | 2019-10-07 16:17:32 +1100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-10-08 01:30:40 +0200 |
commit | b84fb5b15ea4b7463dfdcc06194ccf3a8083672e (patch) | |
tree | 18ab58dfe2971cefe43b66586f34fa04708e304b | |
parent | e659df12bca26dbb3936e4968dba43e82e9edc60 (diff) |
Don't always output translation_unit timer.
-rw-r--r-- | src/ir/context.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir/context.rs b/src/ir/context.rs index 50f1ef5b..292383f5 100644 --- a/src/ir/context.rs +++ b/src/ir/context.rs @@ -553,7 +553,8 @@ impl BindgenContext { clang_sys::CXTranslationUnit_DetailedPreprocessingRecord; let translation_unit = { - let _t = Timer::new("translation_unit"); + let _t = Timer::new("translation_unit") + .with_output(options.time_phases); let clang_args = if explicit_target { Cow::Borrowed(&options.clang_args) } else { |