authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-30 17:22:54-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-30 17:22:54-07:00
logbdbd6172371543c6e1c80ea3f6abcb87702eeb08
tree5a9ba087f601d60647e29c0ca1caf51a5e46c821
parent6393928d508d5a18d3a15b8c9ecbc53ffb3812ce

std.Build.Step.InstallArtifact: disable emit-h

This branch was not intended to introduce new test coverage on the emit-h feature. See #9698

1 files changed, 6 insertions(+), 4 deletions(-)

lib/std/Build/Step/InstallArtifact.zig+6-4
......@@ -77,10 +77,12 @@ pub fn create(owner: *std.Build, artifact: *Step.Compile, options: Options) *Ins
7777 },
7878 .h_dir = switch (options.h_dir) {
7979 .disabled => null,
80 .default => switch (artifact.kind) {
81 .lib => .header,
82 else => null,
83 },
80 // https://github.com/ziglang/zig/issues/9698
81 .default => null,
82 //.default => switch (artifact.kind) {
83 // .lib => .header,
84 // else => null,
85 //},
8486 .override => |o| o,
8587 },
8688 .implib_dir = switch (options.implib_dir) {