Fix build.zig building examples all the time (#5869)
This commit is contained in:
parent
5ca45bce37
commit
6c090f6193
|
|
@ -739,7 +739,6 @@ fn addExamples(
|
||||||
.root_module = exe_mod,
|
.root_module = exe_mod,
|
||||||
.use_lld = target.result.os.tag == .windows,
|
.use_lld = target.result.os.tag == .windows,
|
||||||
});
|
});
|
||||||
b.installArtifact(exe);
|
|
||||||
|
|
||||||
const install_cmd = b.addInstallArtifact(exe, .{ .dest_sub_path = b.fmt("{s}/{s}", .{ module, filename }) });
|
const install_cmd = b.addInstallArtifact(exe, .{ .dest_sub_path = b.fmt("{s}/{s}", .{ module, filename }) });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user