Fix build.zig building examples all the time (#5869)
This commit is contained in:
@@ -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 }) });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user