diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-06-20 15:49:18 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-06-23 08:50:17 +0200 |
| commit | 332ae3b7e632eb23c39b9844f44e2f9e7409e622 (patch) | |
| tree | 4c936f0f861510c5e0ca7dcb18755e94d0a8e944 /compiler/rustc_errors/src/json.rs | |
| parent | 3b97f1308ff72016a4aaa93fbe6d09d4d6427815 (diff) | |
| download | rust-332ae3b7e632eb23c39b9844f44e2f9e7409e622.tar.gz rust-332ae3b7e632eb23c39b9844f44e2f9e7409e622.zip | |
Add codegen timing section
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
| -rw-r--r-- | compiler/rustc_errors/src/json.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/json.rs b/compiler/rustc_errors/src/json.rs index d67e2ba2d60..a413f0243b3 100644 --- a/compiler/rustc_errors/src/json.rs +++ b/compiler/rustc_errors/src/json.rs @@ -144,6 +144,7 @@ impl Emitter for JsonEmitter { }; let name = match record.section { TimingSection::Linking => "link", + TimingSection::Codegen => "codegen", }; let data = SectionTimestamp { name, event, timestamp: record.timestamp }; let result = self.emit(EmitTyped::SectionTiming(data)); |
