Removed superfluous logs

This commit is contained in:
2026-01-19 03:51:17 +01:00
parent 48942b3b2c
commit cb111a8d7b
2 changed files with 4 additions and 5 deletions

View File

@@ -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 {
eprintln!("This is an intermediary value. It should never be copied"); if !self.args.is_empty() {
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 {

View File

@@ -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 {