eliminate the "default" code model #18241
Labels
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
Milestone
zig/lib/std/builtin.zig
Lines 116 to 129 in 69195d0
according to https://raw.githubusercontent.com/wiki/hjl-tools/x86-psABI/x86-64-psABI-1.0.pdf page 37, "default" is not an actual code model. This is out-of-bound data. The enum should not contain it. Instead, the type
?std.builtin.CodeModel
should be used to represent the possibility of default.The text was updated successfully, but these errors were encountered: