Removed superfluous logs
This commit is contained in:
@@ -35,7 +35,9 @@ impl OwnedAtom for MacroBodyArgCollector {
|
|||||||
type Refs = Never;
|
type Refs = Never;
|
||||||
async fn val(&self) -> Cow<'_, Self::Data> { Cow::Owned(()) }
|
async fn val(&self) -> Cow<'_, Self::Data> { Cow::Owned(()) }
|
||||||
async fn call_ref(&self, arg: orchid_extension::expr::Expr) -> GExpr {
|
async fn call_ref(&self, arg: orchid_extension::expr::Expr) -> GExpr {
|
||||||
|
if !self.args.is_empty() {
|
||||||
eprintln!("This is an intermediary value. It should never be copied");
|
eprintln!("This is an intermediary value. It should never be copied");
|
||||||
|
}
|
||||||
self.clone().call(arg).await
|
self.clone().call(arg).await
|
||||||
}
|
}
|
||||||
async fn call(mut self, arg: orchid_extension::expr::Expr) -> GExpr {
|
async fn call(mut self, arg: orchid_extension::expr::Expr) -> GExpr {
|
||||||
|
|||||||
@@ -111,10 +111,7 @@ fn get_all_extensions<'a>(
|
|||||||
for ext_path in args.extension.iter() {
|
for ext_path in args.extension.iter() {
|
||||||
let init = if cfg!(windows) {
|
let init = if cfg!(windows) {
|
||||||
if ext_path.with_extension("dll").exists() {
|
if ext_path.with_extension("dll").exists() {
|
||||||
let dylib =
|
ext_dylib(ext_path.with_extension("dll").as_std_path(), ctx.clone()).await.unwrap()
|
||||||
ext_dylib(ext_path.with_extension("dll").as_std_path(), ctx.clone()).await.unwrap();
|
|
||||||
eprintln!("Loaded DLL {ext_path}.dll");
|
|
||||||
dylib
|
|
||||||
} else if ext_path.with_extension("exe").exists() {
|
} else if ext_path.with_extension("exe").exists() {
|
||||||
ext_command(Command::new(ext_path.with_extension("exe").as_os_str()), ctx.clone()).await?
|
ext_command(Command::new(ext_path.with_extension("exe").as_os_str()), ctx.clone()).await?
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user