aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2022-09-10 14:32:25 -0400
committerGitHub <noreply@github.com>2022-09-10 14:32:25 -0400
commit481d4fc640c7dc825c82d315567922add0b2290f (patch)
tree6d1c555cddaadf2872d1d491aa03c6d9e84c7a4f
parent4634f23555c0848289dcf3df0cf1bb1b1485bd8b (diff)
parentb2d9dca484c49e115018ccd503476bbc6293cb84 (diff)
downloadziglings-481d4fc640c7dc825c82d315567922add0b2290f.tar.gz
ziglings-481d4fc640c7dc825c82d315567922add0b2290f.tar.bz2
ziglings-481d4fc640c7dc825c82d315567922add0b2290f.tar.xz
ziglings-481d4fc640c7dc825c82d315567922add0b2290f.zip
Merge pull request #136 from SebastianAigner/fix-NativeTargetInfo-detect-param
Remove parameter in call to NativeTargetInfo.detect
-rw-r--r--README.md4
-rw-r--r--build.zig3
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2f3c21f..659fdd9 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.10.0-dev.3880+xxxxxxxxx
+0.10.0-dev.3952+xxxxxxxxx
```
Clone this repository with Git:
@@ -81,6 +81,8 @@ about input:
### Version Changes
+* *2022-09-09* zig 0.10.0-dev.3952 - remove an Allocator parameter to the
+`NativeTargetInfo.detect` function.
* *2022-09-06* zig 0.10.0-dev.3880 - Ex 074 correctly fails again: comptime array len
* *2022-08-29* zig 0.10.0-dev.3685 - @typeName() output change, stage1 req. for async
* *2022-07-31* zig 0.10.0-dev.3385 - std lib string fmt() option changes
diff --git a/build.zig b/build.zig
index 05d2521..7517129 100644
--- a/build.zig
+++ b/build.zig
@@ -8,7 +8,7 @@ const print = std.debug.print;
// When changing this version, be sure to also update README.md in two places:
// 1) Getting Started
// 2) Version Changes
-const needed_version = std.SemanticVersion.parse("0.10.0-dev.3880") catch unreachable;
+const needed_version = std.SemanticVersion.parse("0.10.0-dev.3952") catch unreachable;
const Exercise = struct {
/// main_file must have the format key_name.zig.
@@ -754,7 +754,6 @@ const ZiglingStep = struct {
const build_output_dir = std.mem.trimRight(u8, output_dir_nl, "\r\n");
const target_info = std.zig.system.NativeTargetInfo.detect(
- builder.allocator,
.{},
) catch unreachable;
const target = target_info.target;