authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 14:18:30-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 14:18:30-07:00
log84fdeb47a39cbd1a32c670813fe6ef5a8e88ebac
treeaa805012631dc9dbc7398104a214331bf576db25
parent23fd15fd767d93ee5c8404a3b81b20b1a5f79ddb

compiler-rt: fix usage of builtin

In this branch std.builtin and `@import("builtin")` are rearranged, fix a trivial compile error due to the conflict with master.

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

lib/std/special/compiler_rt/extendXfYf2_test.zig+1-1
...@@ -96,7 +96,7 @@ test "extendhfsf2" {...@@ -96,7 +96,7 @@ test "extendhfsf2" {
96 try test__extendhfsf2(0x7f00, 0x7fe00000); // sNaN96 try test__extendhfsf2(0x7f00, 0x7fe00000); // sNaN
97 // On x86 the NaN becomes quiet because the return is pushed on the x8797 // On x86 the NaN becomes quiet because the return is pushed on the x87
98 // stack due to ABI requirements98 // stack due to ABI requirements
99 if (builtin.arch != .i386 and builtin.os.tag == .windows)99 if (builtin.target.cpu.arch != .i386 and builtin.target.os.tag == .windows)
100 try test__extendhfsf2(0x7c01, 0x7f802000); // sNaN100 try test__extendhfsf2(0x7c01, 0x7f802000); // sNaN
101101
102 try test__extendhfsf2(0, 0); // 0102 try test__extendhfsf2(0, 0); // 0