zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 38d06fdf0e9b9eb2831675b550e3ba7e41b74908 (tree)
parent c7bb3a39b781fdecb74ae8df0537516ed1d31826
Author: kcbanner <kcbanner@gmail.com>
Date:   Mon,  8 Jun 2026 00:46:25 -0400

MappedFile: doc fixup
test/standalone/shared_library: remove install step

Diffstat:
Msrc/link/MappedFile.zig | 2+-
Mtest/standalone/shared_library/build.zig | 3---
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/link/MappedFile.zig b/src/link/MappedFile.zig @@ -382,7 +382,7 @@ pub const Node = extern struct { } /// Shrink a node to `size`, exactly. - /// If the new size can't contain all the children, returns error.ShrinkImpossible. + /// Asserts that the new size can contain all the children. /// If `shift_next` is set, then the following node is shifted backwards into /// the free space as much as alignment allows. /// Asserts that `size` is >= the end of the last child node. diff --git a/test/standalone/shared_library/build.zig b/test/standalone/shared_library/build.zig @@ -76,9 +76,6 @@ pub fn build(b: *std.Build) void { }); exe.root_module.linkLibrary(lib); - b.getInstallStep().dependOn(&b.addInstallArtifact(lib, .{}).step); - b.getInstallStep().dependOn(&b.addInstallArtifact(exe, .{}).step); - const run_cmd = b.addRunArtifact(exe); test_step.dependOn(&run_cmd.step); }