authorgravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-06 16:21:05-07:00
committergravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-06 16:21:05-07:00
logcf06817768a347353735ddc908c74ca17c1d7d15
tree395be5e35ab327be41527351d66f391d183525cb
parenta993c7dd1bf7d6ffa8e4a235ef2133e5d5bef254
signature Commit is signed but in an unrecognized format.

improved compile error message


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

lib/std/os/linux/bpf.zig+1-1
......@@ -611,7 +611,7 @@ pub const Insn = packed struct {
611611 }
612612
613613 pub fn st(comptime size: Size, dst: Reg, off: i16, imm: i32) Insn {
614 if (size == .double_word) @compileError("TODO: implement st_dw");
614 if (size == .double_word) @compileError("TODO: need to determine how to correctly handle double words");
615615 return Insn{
616616 .code = MEM | @enumToInt(size) | ST,
617617 .dst = @enumToInt(dst),