zig-v8 icon indicating copy to clipboard operation
zig-v8 copied to clipboard

Error: root struct of file 'Build' has no member named 'LogStep'

Open munjalpatel opened this issue 1 year ago • 1 comments

I am trying to follow the instructions on MacOS with zig v0.11.0 and get the following error whenever I try to do zig build get-tools or zig build get-v8:

/Users/munjalapatel/workspace/playground/zig-v8/build.zig:362:42: error: root struct of file 'Build' has no member named 'LogStep'
fn createGetTools(b: *Builder) *std.build.LogStep {
                                ~~~~~~~~~^~~~~~~~
referenced by:
    build: /Users/munjalapatel/workspace/playground/zig-v8/build.zig:21:23
    runBuild__anon_6791: /Users/munjalapatel/.zig/lib/std/Build.zig:1639:37
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

munjalpatel avatar Sep 10 '23 13:09 munjalpatel

@munjalpatel *std.build.LogStep was removed from v0.11.0. The v0.10.1 API should be compatible with the current build.zig implementation.

almmiko avatar Sep 18 '23 19:09 almmiko