Use tracing crate in riscv-elf (#3135)

This print seems pretty noisy.
This commit is contained in:
Georg Wiese
2025-08-04 14:56:11 +02:00
committed by GitHub
parent 4994f1aa68
commit aa4833a774
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ itertools = "0.13"
log = "0.4.27"
raki = "0.1.4"
thiserror = "1.0"
tracing = "0.1.40"
[lints]
workspace = true

View File

@@ -247,7 +247,7 @@ fn scan_for_jump_targets(
// Only log if it's not a standard return (jalr x0, x1, 0)
if !(insn.rd == Some(0) && insn.rs1 == Some(1) && imm == 0) {
eprintln!(
tracing::debug!(
"Note: Dynamic jump at 0x{addr:x}: jalr {rd_str}, {rs1_str}, {imm}",
);
}