Commit 47859ef
fix(runtime): gate io_uring/Evented behind stdlib bug flag for 0.16.0 CI
Zig 0.16.0's release stdlib has a known bug in std/Io/Uring.zig where
Dir.OpenError and Dir.RealPathFileError are missing
error.ReadOnlyFileSystem, but the Uring vtable forwards it via
`else => |e| return e`. Calling `Evented.init().io()` forces analysis of
every Uring vtable function and triggers compile errors on stock 0.16.0
in CI.
Add `stdlib_evented_works = false` const guard. The whole fallback
architecture is preserved — flipping it back to true re-enables the
Evented (io_uring) path with no other code changes once the toolchain
pin moves past 0.16.0. Docs updated to reflect current state.
Co-Authored-By: Rach Pradhan <pradhan.rach4@gmail.com>1 parent 7c2482b commit 47859ef
2 files changed
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
| 372 | + | |
| 373 | + | |
376 | 374 | | |
377 | 375 | | |
378 | | - | |
379 | 376 | | |
380 | 377 | | |
381 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
382 | 391 | | |
383 | 392 | | |
384 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
26 | 40 | | |
| 41 | + | |
27 | 42 | | |
28 | 43 | | |
29 | 44 | | |
| |||
0 commit comments