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

Required zig version for zigup #63

Open
jgollenz opened this issue Jul 27, 2022 · 3 comments
Open

Required zig version for zigup #63

jgollenz opened this issue Jul 27, 2022 · 3 comments

Comments

@jgollenz
Copy link

Which version of Zig is required to build zigup? I'm on 0.10.0-dev.1419+338bf55e8 and I get

./GitRepoStep.zig:183:10: error: type '@typeInfo(@typeInfo(@TypeOf(std.child_process.ChildProcess.init)).Fn.return_type.?).ErrorUnion.error_set!*std.child_process.ChildProcess' does not support field access
    child.stdin_behavior = .Ignore;

Might that be related to an outdated version of Zig on my part?

@jgollenz
Copy link
Author

Building with latest master worked fine 👍 Would be great to add the required version to the dependencies in the README

@marler8997
Copy link
Owner

I'm hoping this PR ziglang/zig#11987 (or something similar) gets integrated so we can have a standard location to document the required zig version and have the compiler verify it when possible.

@resolritter
Copy link

For future visitors: you can find out the compatible zig version by looking at what CI uses. As of this writing it's 0.11.0-dev.1507+6f13a725a.

version: 0.11.0-dev.1507+6f13a725a

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

3 participants