forked from Orchid/orchid
Removed superfluous logs
This commit is contained in:
@@ -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 {
|
||||
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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user