Target: Zig 0.17.0, macOS. Reference check: 4 October 2026.
Book baseline: Tsoukalos’s [publication announcement][book] says the companion code targets Zig 0.16 and was tested on macOS and Linux. Your particular copy may be an earlier revision; its contents were not supplied. The migration section covers both that baseline and older 0.15-era examples.
Example status: Written against the versioned language reference and migration documentation; not compiler-executed in this environment. Complete programs are labelled. Other code blocks are independent fragments, not one concatenatable source file. Unless shown, assume const std = @import("std");; put statement fragments inside a function or test. Prefer your installed compiler’s zig std documentation over examples for master.