Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"

This reverts commit 0c99ba1eab, reversing
changes made to 5f92b070bf.

This caused a CI failure when it landed in master branch due to a
128-bit `@byteSwap` in std.mem.
This commit is contained in:
Andrew Kelley
2023-10-22 12:16:35 -07:00
parent 9f0359d78f
commit 6f0198cadb
150 changed files with 183 additions and 1694 deletions

View File

@@ -545,7 +545,7 @@ pub fn generateSymbol(
if (layout.payload_size == 0) {
return generateSymbol(bin_file, src_loc, .{
.ty = typed_value.ty.unionTagTypeSafety(mod).?,
.ty = typed_value.ty.unionTagType(mod).?,
.val = un.tag.toValue(),
}, code, debug_output, reloc_info);
}
@@ -553,7 +553,7 @@ pub fn generateSymbol(
// Check if we should store the tag first.
if (layout.tag_size > 0 and layout.tag_align.compare(.gte, layout.payload_align)) {
switch (try generateSymbol(bin_file, src_loc, .{
.ty = typed_value.ty.unionTagTypeSafety(mod).?,
.ty = typed_value.ty.unionTagType(mod).?,
.val = un.tag.toValue(),
}, code, debug_output, reloc_info)) {
.ok => {},