You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- build.zig: replace deprecated root_source_file with root_module + b.createModule()
on both addExecutable and addTest; b.host → b.graph.host; point test root at
new src/all_tests.zig to avoid main.zig's freestanding-only externs
- main.zig: convert /** */ block comment to // line comments (Zig has no block comments)
- ota.zig: rename field error → last_error ('error' is a keyword in Zig)
- sensors.zig: calculateQuality takes *const Self (never mutates); test locals → const
- src/all_tests.zig: new host-side test runner that imports all submodules with tests
(buffer, sensors, mqtt, ota, wifi) while skipping main.zig firmware stubs
10/10 tests pass on Zig 0.15.2.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments