Skip to content

Commit

Permalink
chore: return removed msg as tracing::debug!
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 22, 2025
1 parent 2057169 commit 4b067f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cargo-near-build/src/near/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4b067f2

Please sign in to comment.