diff --git a/src/link/MappedFile.zig b/src/link/MappedFile.zig index 3be6d0b49fb2849c231ae7cb9855e86ba6c70008..5c2892ecaa245f62974b132e979a3c68940bfa56 100644 --- 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 index 478fcd501704cacb21081cc7f463fe8fc1a386c3..a7a55c28a20b97f8493a964d468fe4477d82c444 100644 --- 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); }