unsafe fn gen_print(
        &mut self,
        builder: LLVMBuilderRef,
        run: LLVMValueRef,
        string: CString,
    ) -> WeldResult<()> {
        let string = self.gen_global_string(builder, string);
        let pointer = LLVMConstBitCast(string, LLVMPointerType(self.i8_type(), 0));
        let _ = self.intrinsics.call_weld_run_print(builder, run, pointer);
        Ok(())
    }
Generates a print call with the given string.
weld/src/codegen/llvm2/mod.rs