Skip to content

Commit 2ecda3b

Browse files
chore: convert println! logging to trace! logging during compilation
step
1 parent 11375b9 commit 2ecda3b

File tree

1 file changed

+3
-3
lines changed
  • crates/intrinsic-test/src/common

1 file changed

+3
-3
lines changed

crates/intrinsic-test/src/common/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ pub trait SupportedArchitectureTest {
7676
//
7777
// This is done because `cpp_compiler_wrapped` is None when
7878
// the --generate-only flag is passed
79-
println!("compiling mod_{i}.cpp");
79+
trace!("compiling mod_{i}.cpp");
8080
if let Some(cpp_compiler) = cpp_compiler_wrapped.as_ref() {
8181
let compile_output = cpp_compiler
8282
.compile_object_file(&format!("mod_{i}.cpp"), &format!("mod_{i}.o"));
8383

84-
println!("finished compiling mod_{i}.cpp");
84+
trace!("finished compiling mod_{i}.cpp");
8585
if let Err(compile_error) = compile_output {
8686
return Err(format!("Error compiling mod_{i}.cpp: {compile_error:?}"));
8787
}
@@ -104,7 +104,7 @@ pub trait SupportedArchitectureTest {
104104
// the --generate-only flag is passed
105105
if let Some(cpp_compiler) = cpp_compiler_wrapped.as_ref() {
106106
// compile this cpp file into a .o file
107-
info!("compiling main.cpp");
107+
trace!("compiling main.cpp");
108108
let output = cpp_compiler
109109
.compile_object_file("main.cpp", "intrinsic-test-programs.o")
110110
.unwrap();

0 commit comments

Comments
 (0)