File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const print = std.debug.print;
8
8
// When changing this version, be sure to also update README.md in two places:
9
9
// 1) Getting Started
10
10
// 2) Version Changes
11
- const needed_version = std .SemanticVersion .parse ("0.11.0-dev.1501 " ) catch unreachable ;
11
+ const needed_version = std .SemanticVersion .parse ("0.11.0-dev.1568 " ) catch unreachable ;
12
12
13
13
const Exercise = struct {
14
14
/// main_file must have the format key_name.zig.
@@ -564,7 +564,11 @@ pub fn build(b: *Builder) void {
564
564
const file_path = std .fs .path .join (b .allocator , &[_ ][]const u8 {
565
565
if (use_healed ) "patches/healed" else "exercises" , ex .main_file ,
566
566
}) catch unreachable ;
567
- const build_step = b .addExecutable (base_name , file_path );
567
+ const build_step = b .addExecutable (.{
568
+ .name = base_name ,
569
+ .root_source_file = .{ .path = file_path }
570
+ });
571
+
568
572
build_step .install ();
569
573
570
574
const verify_step = ZiglingStep .create (b , ex , use_healed );
You can’t perform that action at this time.
0 commit comments