zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit cf06817768a347353735ddc908c74ca17c1d7d15 (tree)
parent a993c7dd1bf7d6ffa8e4a235ef2133e5d5bef254
Author: Matt Knight <mattnite@protonmail.com>
Date:   Sun,  6 Sep 2020 16:21:05 -0700

improved compile error message

Diffstat:
Mlib/std/os/linux/bpf.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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