serial icon indicating copy to clipboard operation
serial copied to clipboard

Tracking: Zig 0.14-dev

Open FObersteiner opened this issue 1 year ago • 2 comments

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.

FObersteiner avatar Aug 14 '24 17:08 FObersteiner

std.mem.tokenize is deprecated. Example line: https://github.com/ZigEmbeddedGroup/serial/blob/master/src/serial.zig#L321 Probably replaceable with std.mem.tokenizeAny

lachlanm-git avatar Sep 26 '24 06:09 lachlanm-git

0.14 stable release getting in sight: https://ziggit.dev/t/0-14-0-is-one-month-out/

FObersteiner avatar Jan 20 '25 07:01 FObersteiner