serial
serial copied to clipboard
Tracking: Zig 0.14-dev
In Zig version >= 0.14.0-dev.1052+d6f997259 (and probably some versions before, didn't track them all), this will not work anymore on Linux:
https://github.com/ZigEmbeddedGroup/serial/blob/91d2e8176b2f22bdb5963fb6380d1c07b24bf98a/src/serial.zig#L724C21-L724C51
the std.os.linux.tc_cflag_t implementation changed, now there is no field _ anymore but _12 for instance.
std.mem.tokenize is deprecated. Example line: https://github.com/ZigEmbeddedGroup/serial/blob/master/src/serial.zig#L321
Probably replaceable with std.mem.tokenizeAny
0.14 stable release getting in sight: https://ziggit.dev/t/0-14-0-is-one-month-out/