Data update
This commit is contained in:
parent
72eb4943cb
commit
4d5544505c
2347 changed files with 62432 additions and 16731 deletions
|
|
@ -1,14 +1,9 @@
|
|||
const std = @import("std");
|
||||
|
||||
const debug = std.debug;
|
||||
const heap = std.heap;
|
||||
const process = std.process;
|
||||
pub fn main() void {
|
||||
var args = std.process.args();
|
||||
|
||||
pub fn main() !void {
|
||||
var args = process.args();
|
||||
const program_name = args.next().?;
|
||||
|
||||
const program_name = try args.next(heap.page_allocator) orelse unreachable;
|
||||
defer heap.page_allocator.free(program_name);
|
||||
|
||||
debug.warn("{}\n", .{program_name});
|
||||
std.debug.print("{s}\n", .{program_name});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue