lib: redefine print function.
This commit is contained in:
		
							parent
							
								
									ef4b828df4
								
							
						
					
					
						commit
						d780a5d1e7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -6,7 +6,9 @@ const process = std.process;
 | 
				
			||||||
const fs = std.fs;
 | 
					const fs = std.fs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub const warn  = std.debug.print;
 | 
					pub const warn  = std.debug.print;
 | 
				
			||||||
pub const print = std.debug.print;
 | 
					pub fn print(comptime format: []const u8, args: anytype) void {
 | 
				
			||||||
 | 
					    nosuspend stdout.print(format, args) catch return;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const cli_arguments = @import("./cli_arguments.zig");
 | 
					const cli_arguments = @import("./cli_arguments.zig");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue