summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-05-25 15:15:28 +0200
committerGitHub <noreply@github.com>2023-05-25 15:15:28 +0200
commit763cdb10ca796a6942a1ff1f6187eb8b23ae1b03 (patch)
treec6896b9c80723e5df6cb75a2f42ef3f2485581ed
parent282c50834a9b5945f920d3cb9514b2b203e04282 (diff)
parent192bd2e803e93d2ff4b970e7a339145887669b1c (diff)
Merge pull request #309 from pseudocc/main
change std.debug.TTY to std.io.tty
-rw-r--r--README.md5
-rw-r--r--build.zig2
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index c137089..b7456fd 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ Verify the installation and build number of `zig` like so:
```
$ zig version
-0.11.0-dev.2704+xxxxxxxxx
+0.11.0-dev.3295+xxxxxxxxx
```
Clone this repository with Git:
@@ -89,7 +89,8 @@ that if you update one, you may need to also update the other.
### Version Changes
-Version-0.11.0-dev.2704+83970b6d9
+Version-0.11.0-dev.3295+7cb2e653a
+* *2023-05-25* zig 0.11.0-dev.3295 - `std.debug.TTY` is now `std.io.tty`
* *2023-04-30* zig 0.11.0-dev.2704 - use of the new `std.Build.ExecutableOptions.link_libc` field
* *2023-04-12* zig 0.11.0-dev.2560 - changes in `std.Build` - remove run() and install()
* *2023-04-07* zig 0.11.0-dev.2401 - fixes of the new build system - see [#212](https://github.com/ratfactor/ziglings/pull/212)
diff --git a/build.zig b/build.zig
index 46a260d..6d6ab58 100644
--- a/build.zig
+++ b/build.zig
@@ -554,7 +554,7 @@ const ZiglingStep = struct {
// Print the compiler errors.
// TODO: use the same ttyconf from the builder.
- const ttyconf: std.debug.TTY.Config = if (use_color_escapes)
+ const ttyconf: std.io.tty.Config = if (use_color_escapes)
.escape_codes
else
.no_color;