From 4b067f2cf437e80d2fe0cd02a8e3c2a8e2bd588c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Wed, 22 Jan 2025 14:00:36 +0200 Subject: [PATCH] chore: return removed msg as tracing::debug! --- cargo-near-build/src/near/build/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cargo-near-build/src/near/build/mod.rs b/cargo-near-build/src/near/build/mod.rs index 4ee0574a..ef8dc2dd 100644 --- a/cargo-near-build/src/near/build/mod.rs +++ b/cargo-near-build/src/near/build/mod.rs @@ -255,6 +255,11 @@ fn maybe_wasm_opt_step( "Running an optimize for size post-step with wasm-opt...", || { let start = std::time::Instant::now(); + tracing::debug!( + "{} -> {}", + format!("{}", input_path).cyan(), + format!("{}", opt_destination.path().to_string_lossy()).cyan() + ); wasm_opt::OptimizationOptions::new_optimize_for_size() .run(input_path, opt_destination.path())?; pretty_print::duration_millis(start, "wasm-opt -O");