19 lines
411 B
Plaintext
19 lines
411 B
Plaintext
const std = #import("std");
|
|
const assert = std.assert;
|
|
const Executable = std.build.Executable;
|
|
|
|
const main = fn () *!void {
|
|
const executable = Executable{
|
|
.target = .{
|
|
.cpu = .x86_64,
|
|
.os = .linux,
|
|
.abi = .gnu,
|
|
},
|
|
.main_source_path = "src/main.nat",
|
|
.link_libc = true,
|
|
.name = "link_libc",
|
|
};
|
|
|
|
try executable.compile();
|
|
}
|