mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
CLI: fix a typo that made static/dynamic do the opposite
This commit is contained in:
parent
4923e64199
commit
72fb58f107
@ -2764,7 +2764,7 @@ fn buildOutputType(
|
||||
info.fallbackMode(),
|
||||
)) {
|
||||
const path = try arena.dupe(u8, test_path.items);
|
||||
switch (info.preferred_mode) {
|
||||
switch (info.fallbackMode()) {
|
||||
.Static => try link_objects.append(.{ .path = path }),
|
||||
.Dynamic => try resolved_system_libs.append(arena, .{
|
||||
.name = lib_name,
|
||||
@ -2822,7 +2822,7 @@ fn buildOutputType(
|
||||
info.fallbackMode(),
|
||||
)) {
|
||||
const path = try arena.dupe(u8, test_path.items);
|
||||
switch (info.preferred_mode) {
|
||||
switch (info.fallbackMode()) {
|
||||
.Static => try link_objects.append(.{ .path = path }),
|
||||
.Dynamic => try resolved_system_libs.append(arena, .{
|
||||
.name = lib_name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user