diff --git a/nac3artiq/src/codegen.rs b/nac3artiq/src/codegen.rs index 761f95af..b0a348ec 100644 --- a/nac3artiq/src/codegen.rs +++ b/nac3artiq/src/codegen.rs @@ -751,7 +751,7 @@ fn polymorphic_print<'ctx>( assert!(!fmt.is_empty()); assert_eq!(fmt.as_bytes().last().unwrap(), &0u8); - let fn_name = if as_rtio { "rtio_log" } else { "core_log" }; + let fn_name = if as_rtio { "rtio_log" } else { "printf" }; let print_fn = ctx.module.get_function(fn_name).unwrap_or_else(|| { let llvm_pi8 = ctx.ctx.i8_type().ptr_type(AddressSpace::default()); let fn_t = if as_rtio {