From 24e5959840c790ec74665d22a21d82b68418bc57 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Thu, 11 Mar 2021 10:09:51 +1100 Subject: [PATCH] elf: make EM non-exhaustive --- lib/std/elf.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/std/elf.zig b/lib/std/elf.zig index 4ad859d877..36382ecc42 100644 --- 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.