Veikka Tuominen
Veikka Tuominen
> I already made the change for rhs as well locally, but this is blocked on the much larger question: what is the exact rule that says whenever struct layout...
I don't think either of those examples should pass. The original implementation of this in stage1 seems to have missed that issue 0512beca9d694a667e3ad12a656835b44457fbcd. The second case in that commit could...
Could you also handle this? ```zig const T = enum(u8) { a = 0x12, b = 0x11, c, }; ``` (just add the same fix a few lines lower) Also...
> I thought of one use case I haven't seen mentioned yet: unused loop labels I did mention them in private with the same way of ignoring them and the...
Reduction: ```zig pub const Vector2 = extern struct { x: f32, y: f32, }; pub extern fn DrawTextEx(position: Vector2, fontSize: f32) void; pub fn main() void { DrawTextEx(.{ .x =...
~~`0.10.0-dev.4212+34835bbbc` is quite old, can you try a newer version?~~ Oh and you said you're using stage1, never mind this entire reply then. ~~Also amd64 and aarch64 should be the...
stage1 is expected to be broken in many ways and does not handle non-x86_64 C ABI at all.
Similarly running `zig build-obj a.zig` will produce both `a.o` and `a.o.o`.
Patch to silence the errors, might need something more: ```diff diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index 8ca20bc33..1628842e6 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -3073,7 +3073,7 @@ pub const all_mask: sigset_t =...
I don't think this is relevant anymore.