authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 17:39:26-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 17:39:26-07:00
log5cacc446c4ff5591b7a9c506952f4eb9ae5efdd1
treebde4ebf14f244398d2a93d42aff62e6bac53590d
parent98a28ece0b461d44dadc80c872e7ede562ddd447

stage2: update `@import("builtin")` API usage


1 files changed, 2 insertions(+), 2 deletions(-)

src/libc_installation.zig+2-2
...@@ -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();
385385
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();
439439
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",