Skip to content

Commit 9704a23

Browse files
author
Bastien Orivel
committed
Add some more tracing to the klc generation step
1 parent 1401ed2 commit 9704a23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/build/windows/generate_klc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::path::Path;
33
use async_trait::async_trait;
44
use codecs::utf16::Utf16Ext;
55
use language_tags::LanguageTag;
6+
use tracing::{trace, debug};
67

78
use crate::{
89
build::BuildStep,
@@ -31,9 +32,12 @@ pub struct GenerateKlc {}
3132
#[async_trait(?Send)]
3233
impl BuildStep for GenerateKlc {
3334
async fn build(&self, bundle: &KbdgenBundle, output_path: &Path) {
35+
trace!("Generating klc files");
3436
// One .klc file per language with Windows primary platform
3537
for (language_tag, layout) in &bundle.layouts {
38+
trace!("Checking if we need a klc file for {}", language_tag);
3639
if let Some(windows_target) = &layout.windows {
40+
debug!("Generating klc for {}", language_tag);
3741
let metadata =
3842
generate_metadata(bundle.clone(), language_tag, layout, windows_target);
3943

0 commit comments

Comments
 (0)