Skip to content

zig build get-tools fails with error #12

@Lioncat2002

Description

@Lioncat2002

Hello, I am trying to build zig-v8 using the build instructions provided in the ReadME

However I get the following error:

/run/media/kittycat/Linux_files/zigstuff/zig-v8/build.zig:643:23: error: no field or member function named 'run' in 'Build'
            _ = self.b.run(&.{ "git", "clone", "--depth=1", "--branch", v8_rev, "https://chromium.googlesource.com/v8/v8.git", "v8" });
                ~~~~~~^~~~
/usr/lib/zig/std/Build.zig:1:1: note: struct declared here
const std = @import("std.zig");
^~~~~
referenced by:
    create: /run/media/kittycat/Linux_files/zigstuff/zig-v8/build.zig:568:27
    createGetV8: /run/media/kittycat/Linux_files/zigstuff/zig-v8/build.zig:355:36
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

Zig version: 0.11.0(latest)

[kittycat@kittycat zig-v8]$ zig version
0.11.0

I guess there have been API changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions