• Joined on 2025年11月28日
by965738071 commented on issue ziglang/zig#35351 2026年05月19日 09:46:38 +02:00
Compiler segfault with labeled break and unlabeled break inside inline for

break :mock_break exits the entire mock_break block directly, thereby also exiting the inline for loop. However, if the break is executed in any one of the three copies generated by the inline for...

by965738071 commented on issue ziglang/zig#31996 2026年04月21日 15:16:29 +02:00
Compiler mistakes a comptime argument in a function pointer for a type

你的 run 函数参数中使用了 comptime even: bool,这要求 even 的值在编译期就必须确定。但是,你的线程池在运行期从一个动态数组里取出了这个 bool...

by965738071 commented on issue ziglang/zig#31838 2026年04月13日 13:03:01 +02:00
Miscompilation of tagged-union self-assignment

编译器看到这行,要在寄存器里算出 switch 的结果,同时又要原地修改 v 的内存和 Tag。在当前 dev 版本的 LLVM 某个 pass 里,它搞混了生命周期的临界点。

by965738071 commented on issue ziglang/zig#31800 2026年04月10日 12:49:33 +02:00
string formating yields 'reached unreachable code' on avr target

zig build-exe -OReleaseSmall -target avr-freestanding-none -mcpu avrxmega2 -fno-compiler-rt -fno-ubsan-rt a.zig

by965738071 commented on issue 7Games/zig-sdl3#185 2026年03月16日 02:52:28 +01:00
events.zig

我将video.zig 中的 Window packed struct 改成 普通的struct 可以运行了 。 还有注释了 std.debug.assert(@sizeOf(c.SDL_Event) == @sizeOf(Event)); 这段代码。 在windows...

by965738071 commented on issue 7Games/zig-sdl3#185 2026年03月16日 02:50:51 +01:00
events.zig

这里是报错信息:D:\Applications\Scoop\apps\zig-dev0円.16.0-dev.2905\lib\std\debug.zig:421:14: error: reached unreachable code

by965738071 opened issue 7Games/zig-sdl3#185 2026年03月15日 15:09:29 +01:00
events.zig
by965738071 opened issue ziglang/zig#31471 2026年03月12日 03:25:18 +01:00
tcp stream not hava noDelay,keepalive function
by965738071 closed pull request ziglang/zig#31385 2026年03月11日 03:43:35 +01:00
Add TCP socket options: setNoDelay and setKeepAlive
by965738071 commented on issue ziglang/zig#31410 2026年03月10日 15:21:29 +01:00
std.http.Client.ConnectTcpOptions.timeout is ignored

line 1451. add .timeout = options.timeout. I think . ok ?

by965738071 created pull request ziglang/zig#31385 2026年03月03日 10:44:28 +01:00
Add TCP socket options: setNoDelay and setKeepAlive