mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-17 02:58:42 -09:00
disable stage2 for now
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
parent
3b4b88ab2a
commit
2141143387
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
const mode = b.standardReleaseOptions();
|
const mode = b.standardReleaseOptions();
|
||||||
|
|
||||||
const exe = b.addExecutable("ncdu", "src/main.zig");
|
const exe = b.addExecutable("ncdu", "src/main.zig");
|
||||||
|
exe.use_stage1 = true; // TODO: remove
|
||||||
exe.setTarget(target);
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
exe.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
|
exe.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
|
||||||
|
|
@ -25,6 +26,7 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
run_step.dependOn(&run_cmd.step);
|
run_step.dependOn(&run_cmd.step);
|
||||||
|
|
||||||
const tst = b.addTest("src/main.zig");
|
const tst = b.addTest("src/main.zig");
|
||||||
|
tst.use_stage1 = true; // TODO: remove
|
||||||
tst.linkLibC();
|
tst.linkLibC();
|
||||||
tst.linkSystemLibrary("ncursesw");
|
tst.linkSystemLibrary("ncursesw");
|
||||||
tst.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
|
tst.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue