We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
zig version 0.13.0 uname -a Linux howlin 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux zig build examples examples └─ install echo └─ zig build-exe echo Debug native 1 errors src/serial.zig:855:32: error: no field named 'CMSPAR' in struct 'os.linux.tc_cflag_t__struct_2972' settings.cflag.CMSPAR = config.parity == .mark; ^~~~~~ /home/trj/org/zig/zig-linux-x86_64-0.13.0/lib/std/os/linux.zig:5763:20: note: struct declared here else => packed struct(u32) { ~~~~~~~^~~~~~ referenced by: main: examples/echo.zig:16:19 callMain: /home/trj/org/zig/zig-linux-x86_64-0.13.0/lib/std/start.zig:524:32 remaining reference traces hidden; use '-freference-trace' to see all reference traces error: the following command failed with 1 compilation errors: /home/trj/org/zig/zig-linux-x86_64-0.13.0/zig build-exe -ODebug --dep serial -Mroot=/home/trj/org/zig/serial/examples/echo.zig -Mserial=/home/trj/org/zig/serial/src/serial.zig --cache-dir /home/trj/org/zig/serial/.zig-cache --global-cache-dir /home/trj/.cache/zig --name echo --listen=- Build Summary: 4/7 steps succeeded; 1 failed (disable with --summary none) examples transitive failure ├─ zig build-exe echo Debug native 1 errors └─ install echo transitive failure └─ zig build-exe echo Debug native (reused) error: the following build command failed with exit code 1: /home/trj/org/zig/serial/.zig-cache/o/6200eed03a0d0657c578d910ebfb459f/build /home/trj/org/zig/zig-linux-x86_64-0.13.0/zig /home/trj/org/zig/serial /home/trj/org/zig/serial/.zig-cache /home/trj/.cache/zig --seed 0x8d50afca -Z76b708a5cf854f53 examples
The text was updated successfully, but these errors were encountered:
Fix for ZigEmbeddedGroup#36
2db3090
Untested, byt now compiles Only set fields which libc defines
Confirmed this is an issue using Zig 0.13 on Ubuntu 24.04 trying to talk to Marlin on /dev/ttyACM0. Thanks for this fix @ringtailsoftware !
uname -a Linux framework 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Sorry, something went wrong.
Merge pull request #37 from ringtailsoftware/fix_36_mark_linux
db5cb52
Fix for #36
Fixed by #36 "for now"
No branches or pull requests
The text was updated successfully, but these errors were encountered: