mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
Use println!() instead of the log crate
This commit is contained in:
@@ -42,8 +42,7 @@ impl Add {
|
|||||||
|
|
||||||
let mut cmd = self.target()?.command(&bindings)?;
|
let mut cmd = self.target()?.command(&bindings)?;
|
||||||
|
|
||||||
#[cfg(feature = "debug")]
|
println!("Running: {cmd:?}");
|
||||||
log::debug!("Running {cmd:?}");
|
|
||||||
|
|
||||||
let status = cmd
|
let status = cmd
|
||||||
.stdin(Stdio::null())
|
.stdin(Stdio::null())
|
||||||
@@ -63,8 +62,7 @@ impl Add {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn lookup_bindings(&self, registry: &str) -> Result<Vec<Bindings>, Error> {
|
fn lookup_bindings(&self, registry: &str) -> Result<Vec<Bindings>, Error> {
|
||||||
#[cfg(feature = "debug")]
|
println!("Querying WAPM for package bindings");
|
||||||
log::debug!("Querying WAPM for the bindings packages");
|
|
||||||
|
|
||||||
let mut bindings_to_add = Vec::new();
|
let mut bindings_to_add = Vec::new();
|
||||||
let language = self.target()?.language();
|
let language = self.target()?.language();
|
||||||
|
|||||||
Reference in New Issue
Block a user