Update sentinel type for v0.10.0

Fixes

.../076_sentinels.zig:95:30: error: incompatible types:
  'u32' and '?*const anyopaque':
    while (my_seq[i] != my_sentinel) {
This commit is contained in:
Dave Gauer 2022-03-19 19:38:05 -04:00
parent c22544ece7
commit 77c79140c7
3 changed files with 13 additions and 6 deletions

View file

@ -41,7 +41,7 @@ Verify the installation and build number of `zig` like so:
```bash
$ zig version
0.9.0-dev.2025+xxxxxxxxx
0.10.0-dev.1427+xxxxxxxxx
```
Clone this repository with Git:
@ -62,7 +62,7 @@ $ zig build
The Zig language is under very active development. In order to be current,
Ziglings tracks **development** builds of the Zig compiler rather than
versioned **release** builds. The last stable release was `0.8.1`, but Ziglings
needs a dev build with pre-release version "0.9.0" and a build number at least
needs a dev build with pre-release version "0.10.0" and a build number at least
as high as that shown in the example version check above.
It is likely that you'll download a build which is _greater_ than the minimum.
@ -80,7 +80,13 @@ about input:
[no tab characters or Windows CR/LF newlines are allowed](https://github.com/ziglang/zig/issues/544).
### Version Changes
..
./patches/healed/076_sentinels.zig:95:30: error: incompatible
types: 'u32' and '?*const anyopaque'
while (my_seq[i] != my_sentinel) {
9
* 2022-03-19 0.10.0-dev.1427 - method for getting sentinel of type changed
* 2021-12-20 0.9.0-dev.2025 - `c_void` is now `anyopaque`
* 2021-06-14 0.9.0-dev.137 - std.build.Id `.Custom` is now `.custom`
* 2021-04-21 0.8.0-dev.1983 - std.fmt.format() `any` format string required