Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking: Zig 0.14-dev #27

Open
FObersteiner opened this issue Aug 14, 2024 · 1 comment
Open

Tracking: Zig 0.14-dev #27

FObersteiner opened this issue Aug 14, 2024 · 1 comment

Comments

@FObersteiner
Copy link
Contributor

FObersteiner commented Aug 14, 2024

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.

@lachlanm-git
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants