14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
const std = #import("std");
|
|
const print = std.print;
|
|
|
|
const main = fn () s32 {
|
|
if (std.os.current_executable_path(allocator = std.page_allocator.allocator.&)) |bytes| {
|
|
print(bytes);
|
|
print(bytes = "\n");
|
|
return 0;
|
|
} else {
|
|
print(bytes = "Failed\n");
|
|
return 1;
|
|
}
|
|
}
|