Commit bdbd617237

Andrew Kelley <andrew@ziglang.org>
2023-07-31 02:22:54
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 parent 6393928
Changed files (1)
lib
std
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) {