authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-15 19:12:39-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-15 19:14:54-07:00
log7818586a2bc24252468977f8304d3c5b870a932a
tree3e8c13cfef2a695b70414ae8cf6c5bd5b9c4cad1
parentf37451a63ab084853c76cb1359e081363ff15f14

fix new references to std.builtin that should have been std.Target


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

lib/std/special/compiler_rt.zig+1-1
......@@ -299,7 +299,7 @@ comptime {
299299 @export(@import("compiler_rt/sparc.zig")._Qp_qtod, .{ .name = "_Qp_qtod", .linkage = linkage });
300300 }
301301
302 if (builtin.arch == .powerpc or builtin.arch.isPPC64()) {
302 if (arch == .powerpc or arch.isPPC64()) {
303303 @export(@import("compiler_rt/addXf3.zig").__addtf3, .{ .name = "__addkf3", .linkage = linkage });
304304 @export(@import("compiler_rt/addXf3.zig").__subtf3, .{ .name = "__subkf3", .linkage = linkage });
305305 @export(@import("compiler_rt/mulXf3.zig").__multf3, .{ .name = "__mulkf3", .linkage = linkage });
test/tests.zig+4-4
......@@ -571,11 +571,11 @@ pub const StackTracesContext = struct {
571571 if (config.exclude.exclude()) return;
572572 }
573573 if (@hasField(@TypeOf(config), "exclude_arch")) {
574 const exclude_arch: []const builtin.Cpu.Arch = &config.exclude_arch;
574 const exclude_arch: []const std.Target.Cpu.Arch = &config.exclude_arch;
575575 for (exclude_arch) |arch| if (arch == builtin.cpu.arch) return;
576576 }
577577 if (@hasField(@TypeOf(config), "exclude_os")) {
578 const exclude_os: []const builtin.Os.Tag = &config.exclude_os;
578 const exclude_os: []const std.Target.Os.Tag = &config.exclude_os;
579579 for (exclude_os) |os| if (os == builtin.os.tag) return;
580580 }
581581 for (self.modes) |mode| {
......@@ -615,11 +615,11 @@ pub const StackTracesContext = struct {
615615 if (mode_config.exclude.exclude()) return;
616616 }
617617 if (@hasField(@TypeOf(mode_config), "exclude_arch")) {
618 const exclude_arch: []const builtin.Cpu.Arch = &mode_config.exclude_arch;
618 const exclude_arch: []const std.Target.Cpu.Arch = &mode_config.exclude_arch;
619619 for (exclude_arch) |arch| if (arch == builtin.cpu.arch) return;
620620 }
621621 if (@hasField(@TypeOf(mode_config), "exclude_os")) {
622 const exclude_os: []const builtin.Os.Tag = &mode_config.exclude_os;
622 const exclude_os: []const std.Target.Os.Tag = &mode_config.exclude_os;
623623 for (exclude_os) |os| if (os == builtin.os.tag) return;
624624 }
625625