@@ -127,7 +127,7 @@ fn createV8_Build(b: *std.Build, target: std.Build.ResolvedTarget, mode: std.bui
127127
128128 if (use_zig_tc ) {
129129 // Set target and cpu for building the lib.
130- // TODO: If mcpu is equavalent to -Dcpu then use that instead
130+ // TODO: If mcpu is equivalent to -Dcpu then use that instead
131131 try zig_cc .append (b .fmt ("zig cc --target={s} -mcpu=baseline" , .{try target .result .zigTriple (b .allocator )}));
132132 try zig_cxx .append (b .fmt ("zig c++ --target={s} -mcpu=baseline" , .{try target .result .zigTriple (b .allocator )}));
133133
@@ -228,7 +228,7 @@ fn createV8_Build(b: *std.Build, target: std.Build.ResolvedTarget, mode: std.bui
228228 }
229229 if (target .result .os .tag == .linux and target .result .cpu .arch == .aarch64 ) {
230230 // On linux aarch64, we can not use the clang version provided in v8 sources
231- // as it's built for x86_64 (TODO: using Rosetta2 for Linux VM on Apple Sillicon ?)
231+ // as it's built for x86_64 (TODO: using Rosetta2 for Linux VM on Apple Silicon ?)
232232 // Instead we can use a clang system version
233233 // as long as we use the same version number (currently clang-16)
234234 // Currently v8 uses clang-16 but Debian/Ubuntu are using older versions
@@ -332,8 +332,7 @@ const CheckV8DepsStep = struct {
332332 return step ;
333333 }
334334
335- fn make (step : * Step , prog_node : * std.Progress.Node ) anyerror ! void {
336- _ = prog_node ;
335+ fn make (step : * Step , _ : Step.MakeOptions ) anyerror ! void {
337336 const output = try step .evalChildProcess (&.{ "clang" , "--version" });
338337 print ("clang: {s}" , .{output });
339338
@@ -439,8 +438,7 @@ const MakePathStep = struct {
439438 return new ;
440439 }
441440
442- fn make (step : * Step , prog_node : std.Progress.Node ) anyerror ! void {
443- _ = prog_node ;
441+ fn make (step : * Step , _ : Step.MakeOptions ) anyerror ! void {
444442 const self : * Self = @fieldParentPtr ("step" , step );
445443 try std .fs .cwd ().makePath (self .b .pathFromRoot (self .path ));
446444 }
@@ -470,8 +468,7 @@ const CopyFileStep = struct {
470468 return new ;
471469 }
472470
473- fn make (step : * Step , prog_node : std.Progress.Node ) anyerror ! void {
474- _ = prog_node ;
471+ fn make (step : * Step , _ : Step.MakeOptions ) anyerror ! void {
475472 const self : * Self = @fieldParentPtr ("step" , step );
476473 try std .fs .copyFileAbsolute (self .src_path , self .dst_path , .{});
477474 }
@@ -641,8 +638,7 @@ pub const GetV8SourceStep = struct {
641638 }
642639 }
643640
644- fn make (step : * Step , prog_node : std.Progress.Node ) anyerror ! void {
645- _ = prog_node ;
641+ fn make (step : * Step , _ : Step.MakeOptions ) anyerror ! void {
646642 const self : * Self = @fieldParentPtr ("step" , step );
647643
648644 // Pull the minimum source we need by looking at DEPS.
@@ -804,5 +800,5 @@ fn statPathFromRoot(b: *std.Build, path_rel: []const u8) !PathStat {
804800}
805801
806802fn isMinZigVersion () bool {
807- return builtin .zig_version .major == 0 and builtin .zig_version .minor == 12 ;
803+ return builtin .zig_version .major == 0 and builtin .zig_version .minor == 14 ;
808804}
0 commit comments