From 77c79140c7b0aa443adf74c05364ddbf614856df Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sat, 19 Mar 2022 19:38:05 -0400 Subject: 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) { --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bf47d86..2dad36c 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3-ZIG