Skip to content

Commit 2ae63f0

Browse files
committed
Remove commented-out println statements in build.rs for ASN.1 generation and schema compilation
- Cleaned up the build script by removing unnecessary println! statements that were commented out. - This change improves code readability and maintains focus on active code without clutter from unused logging statements. - No functional changes were made; the build process remains intact.
1 parent c87bd7d commit 2ae63f0

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

crates/rustyasn/build.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ fn generate_fix_asn1_definitions(enabled_features: &[String]) -> Result<()> {
227227
}
228228
};
229229

230-
println!(
231-
"cargo:warning=Generating ASN.1 definitions for {}",
232-
feature.to_uppercase()
233-
);
230+
// println!(
231+
// "cargo:warning=Generating ASN.1 definitions for {}",
232+
// feature.to_uppercase()
233+
// );
234234
generate_fix_dictionary_asn1(&dictionary, &filename, out_path)
235235
.with_context(|| format!("Failed to generate ASN.1 definitions for {feature}"))?;
236236
}
@@ -770,10 +770,10 @@ fn compile_asn1_schemas(schemas_dir: &Path) -> Result<()> {
770770
for entry in entries {
771771
let schema_file = entry.context("Failed to read schema file entry")?;
772772

773-
println!(
774-
"cargo:warning=Compiling ASN.1 schema: {}",
775-
schema_file.display()
776-
);
773+
// println!(
774+
// "cargo:warning=Compiling ASN.1 schema: {}",
775+
// schema_file.display()
776+
// );
777777

778778
// Get the filename without extension for generated Rust module
779779
let file_stem = schema_file

0 commit comments

Comments
 (0)