From cb111a8d7b7b5adfaf09fbb96e64988faa0a933a Mon Sep 17 00:00:00 2001 From: Lawrence Bethlenfalvy Date: Mon, 19 Jan 2026 03:51:17 +0100 Subject: [PATCH] Removed superfluous logs --- orchid-std/src/macros/utils.rs | 4 +++- orcx/src/main.rs | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/orchid-std/src/macros/utils.rs b/orchid-std/src/macros/utils.rs index 47c23b6..0b3a8f4 100644 --- a/orchid-std/src/macros/utils.rs +++ b/orchid-std/src/macros/utils.rs @@ -35,7 +35,9 @@ impl OwnedAtom for MacroBodyArgCollector { type Refs = Never; async fn val(&self) -> Cow<'_, Self::Data> { Cow::Owned(()) } 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 } async fn call(mut self, arg: orchid_extension::expr::Expr) -> GExpr { diff --git a/orcx/src/main.rs b/orcx/src/main.rs index a1287e5..1ab5b39 100644 --- a/orcx/src/main.rs +++ b/orcx/src/main.rs @@ -111,10 +111,7 @@ fn get_all_extensions<'a>( for ext_path in args.extension.iter() { let init = if cfg!(windows) { if ext_path.with_extension("dll").exists() { - let dylib = - ext_dylib(ext_path.with_extension("dll").as_std_path(), ctx.clone()).await.unwrap(); - eprintln!("Loaded DLL {ext_path}.dll"); - dylib + ext_dylib(ext_path.with_extension("dll").as_std_path(), ctx.clone()).await.unwrap() } else if ext_path.with_extension("exe").exists() { ext_command(Command::new(ext_path.with_extension("exe").as_os_str()), ctx.clone()).await? } else {