Skip to content

Commit b79112d

Browse files
committed
mingw: Don't implement buildImportLib in only-c mode
1 parent d5c14fa commit b79112d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mingw.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ fn add_cc_args(
274274
}
275275

276276
pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void {
277+
if (build_options.only_core_functionality) @panic("building import libs not included in core functionality");
277278
var arena_allocator = std.heap.ArenaAllocator.init(comp.gpa);
278279
defer arena_allocator.deinit();
279280
const arena = arena_allocator.allocator();

0 commit comments

Comments
 (0)