This was... not fun, lots of `*const [*:0]u8` vs `[31:0]u8` and such sillyness. What worked in the end was a code example from [1] and a fix from [2]. [1]: https://github.com/ziglang/zig/blob/c82c3585c8fdf02820747c118c78957e2eb5d072/lib/std/special/test_runner.zig#L17 [2]: https://github.com/ziglang/zig/issues/1481#issuecomment-806459027
|
|
||
| 9 |
|
9 |
|
| 10 |
|
10 |
|
| 11 |
|
11 |
|
| 12 |
|
|
|
| 13 |
|
|
|
|
12 |
|
|
| 14 |
|
13 |
|
| 15 |
|
14 |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
| 16 |
|
20 |
|
| 17 |
|
21 |
|
| 18 |
|
22 |
|
|
|
||
| 25 |
|
29 |
|
| 26 |
|
30 |
|
| 27 |
|
31 |
|
| 28 |
|
|
|
|
32 |
|
|
| 29 |
|
33 |
|
| 30 |
|
34 |
|
| 31 |
|
35 |
|
| 32 |
|
36 |
|
| 33 |
|
37 |
|
|
38 |
|
|
| 34 |
|
39 |
|
| 35 |
|
40 |
|
| 36 |
|
41 |
|