Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zig build get-tools fails with error #12

Open
Lioncat2002 opened this issue Feb 13, 2024 · 0 comments
Open

zig build get-tools fails with error #12

Lioncat2002 opened this issue Feb 13, 2024 · 0 comments

Comments

@Lioncat2002
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant