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...@@ -77,10 +77,12 @@ pub fn create(owner: *std.Build, artifact: *Step.Compile, options: Options) *Ins
77 },77 },
78 .h_dir = switch (options.h_dir) {78 .h_dir = switch (options.h_dir) {
79 .disabled => null,79 .disabled => null,
80 .default => switch (artifact.kind) {80 // https://github.com/ziglang/zig/issues/9698
81 .lib => .header,81 .default => null,
82 else => null,82 //.default => switch (artifact.kind) {
83 },83 // .lib => .header,
84 // else => null,
85 //},
84 .override => |o| o,86 .override => |o| o,
85 },87 },
86 .implib_dir = switch (options.implib_dir) {88 .implib_dir = switch (options.implib_dir) {