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 {