mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-28 13:20:41 +00:00
fix: 🐛 Remove stopwatch
This commit is contained in:
parent
b0b338e0c2
commit
26986b5c8a
@ -24,7 +24,6 @@ use espup::{
|
||||
};
|
||||
use log::{debug, info, warn};
|
||||
use miette::{IntoDiagnostic, Result};
|
||||
use std::time::Instant;
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
fs::{remove_dir_all, remove_file, File},
|
||||
@ -130,8 +129,6 @@ pub struct UninstallOpts {
|
||||
|
||||
/// Installs the Rust for ESP chips environment
|
||||
async fn install(args: InstallOpts) -> Result<()> {
|
||||
let start = Instant::now();
|
||||
|
||||
initialize_logger(&args.log_level);
|
||||
check_for_update(env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
|
||||
info!("{} Installing esp-rs", emoji::DISC);
|
||||
@ -272,8 +269,6 @@ async fn install(args: InstallOpts) -> Result<()> {
|
||||
"{} Please, source the export file, as state above, to properly setup the environment!",
|
||||
emoji::WARN
|
||||
);
|
||||
let duration = start.elapsed();
|
||||
println!("Time elapsed in expensive_function() is: {:?}", duration);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user