Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

build issue #83

Open
blippy opened this issue Feb 3, 2023 · 1 comment
Open

build issue #83

blippy opened this issue Feb 3, 2023 · 1 comment

Comments

@blippy
Copy link

blippy commented Feb 3, 2023

Trying to build with zig 0.8.0:

./build.zig:18:30: error: container 'std.build' has no member called 'OptionsStep'
    build_options: *std.build.OptionsStep,
                             ^
./build.zig:96:22: note: referenced here
    const regz = Regz.create(b, .{
                     ^
/home/pi/tools/zig-linux-x86_64-0.8.0/lib/std/special/build_runner.zig:158:24: note: referenced here
        .ErrorUnion => try root.build(builder),

Trying to build with zig 0.10.1:

/home/pi/src/regz/.gyro/zig-libxml2-mitchellh-github.com-366b26b0/pkg/libxml2.zig:167:19: error: no field named 'type' in struct 'builtin.Type.StructField'
        if (field.type == bool and @field(opts, field.name)) {
                  ^~~~
/home/pi/src/zig-linux-x86_64-0.10.1/lib/std/builtin.zig:283:29: note: struct declared here
    pub const StructField = struct {
                            ^~~~~~
referenced by:
    create: /home/pi/src/regz/build.zig:30:28
    build: /home/pi/src/regz/build.zig:96:22
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

@mattnite
Copy link
Contributor

mattnite commented Feb 3, 2023

Right now you need to use zig master, I will update the readme later tonight

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

No branches or pull requests

2 participants