mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 09:00:00 +00:00
Remove parameter in call to NativeTargetInfo.detect
Compatibility with ziglang/zig@3ee01c14ee
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user