commit bdbd6172371543c6e1c80ea3f6abcb87702eeb08 (tree)
parent 6393928d508d5a18d3a15b8c9ecbc53ffb3812ce
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 30 Jul 2023 17:22:54 -0700
std.Build.Step.InstallArtifact: disable emit-h
This branch was not intended to introduce new test coverage on the
emit-h feature.
See #9698
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lib/std/Build/Step/InstallArtifact.zig b/lib/std/Build/Step/InstallArtifact.zig
@@ -77,10 +77,12 @@ pub fn create(owner: *std.Build, artifact: *Step.Compile, options: Options) *Ins
},
.h_dir = switch (options.h_dir) {
.disabled => null,
- .default => switch (artifact.kind) {
- .lib => .header,
- else => null,
- },
+ // https://github.com/ziglang/zig/issues/9698
+ .default => null,
+ //.default => switch (artifact.kind) {
+ // .lib => .header,
+ // else => null,
+ //},
.override => |o| o,
},
.implib_dir = switch (options.implib_dir) {