| ... | @@ -383,7 +383,7 @@ pub const LibCInstallation = struct { | ... | @@ -383,7 +383,7 @@ pub const LibCInstallation = struct { |
| 383 | var result_buf = std.ArrayList(u8).init(allocator); | 383 | var result_buf = std.ArrayList(u8).init(allocator); |
| 384 | defer result_buf.deinit(); | 384 | defer result_buf.deinit(); |
| 385 | | 385 | |
| 386 | const arch_sub_dir = switch (builtin.arch) { | 386 | const arch_sub_dir = switch (builtin.target.cpu.arch) { |
| 387 | .i386 => "x86", | 387 | .i386 => "x86", |
| 388 | .x86_64 => "x64", | 388 | .x86_64 => "x64", |
| 389 | .arm, .armeb => "arm", | 389 | .arm, .armeb => "arm", |
| ... | @@ -437,7 +437,7 @@ pub const LibCInstallation = struct { | ... | @@ -437,7 +437,7 @@ pub const LibCInstallation = struct { |
| 437 | var result_buf = std.ArrayList(u8).init(allocator); | 437 | var result_buf = std.ArrayList(u8).init(allocator); |
| 438 | defer result_buf.deinit(); | 438 | defer result_buf.deinit(); |
| 439 | | 439 | |
| 440 | const arch_sub_dir = switch (builtin.arch) { | 440 | const arch_sub_dir = switch (builtin.target.cpu.arch) { |
| 441 | .i386 => "x86", | 441 | .i386 => "x86", |
| 442 | .x86_64 => "x64", | 442 | .x86_64 => "x64", |
| 443 | .arm, .armeb => "arm", | 443 | .arm, .armeb => "arm", |