aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorSebastian Aigner <sebastian.aigner@tum.de>2022-09-09 19:18:55 +0200
committerSebastian Aigner <sebastian.aigner@tum.de>2022-09-09 20:42:57 +0200
commitb2d9dca484c49e115018ccd503476bbc6293cb84 (patch)
tree6d1c555cddaadf2872d1d491aa03c6d9e84c7a4f /build.zig
parent4634f23555c0848289dcf3df0cf1bb1b1485bd8b (diff)
downloadziglings-b2d9dca484c49e115018ccd503476bbc6293cb84.tar.gz
ziglings-b2d9dca484c49e115018ccd503476bbc6293cb84.tar.bz2
ziglings-b2d9dca484c49e115018ccd503476bbc6293cb84.tar.xz
ziglings-b2d9dca484c49e115018ccd503476bbc6293cb84.zip
Remove parameter in call to NativeTargetInfo.detect
Compatibility with ziglang/zig@3ee01c14ee7ba42b484f15daeacb67da90a81c9e
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 1 insertions, 2 deletions
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;