David Gonzalez Martin 8e4fc03d1b Modernize std API
2024-03-08 16:35:40 -06:00

10 lines
261 B
Plaintext

const std = #import("std");
const print = std.print;
const main = fn() *!void {
var buffer: [std.os.max_path_byte_count:0]u8 = undefined;
const bytes = try std.os.current_executable_path(buffer = buffer.&);
print(bytes);
print(bytes = "\n");
}