motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 24e5959840c790ec74665d22a21d82b68418bc57 (tree)
parent c5eb15526dac23e231ae54c2461f0eb15b28303e
Author: Asherah Connor <ashe@kivikakk.ee>
Date:   Thu, 11 Mar 2021 10:09:51 +1100

elf: make EM non-exhaustive

Diffstat:
Mlib/std/elf.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/std/elf.zig b/lib/std/elf.zig @@ -1525,6 +1525,8 @@ pub const EM = extern enum(u16) { /// Linux kernel bpf virtual machine _BPF = 247, + + _, }; /// Section data should be writable during execution.