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

Compile errors on zig 0.11.0 with zig build test #11

Closed
rupurt opened this issue Feb 8, 2024 · 0 comments · Fixed by #16
Closed

Compile errors on zig 0.11.0 with zig build test #11

rupurt opened this issue Feb 8, 2024 · 0 comments · Fixed by #16

Comments

@rupurt
Copy link
Contributor

rupurt commented Feb 8, 2024

It looks like TypeInfo is now known as Type and has a few differences in fields

╰─ zig build test
zig test util Debug native: error: the following command failed with 1 compilation errors:
/nix/store/6k2viwqb0dm38hijch7ibdp9sdwiz8h1-zig-0.11.0/bin/zig test /home/alex/workspace/mjoerussell/zig-odbc/src/util.zig -I/nix/store/ainxli0jmyfrznb2fczkaik7c31ch5in-unixODBC-2.3.12/include -L/nix/store/ainxli0jmyfrznb2fczkaik7c31ch5in-unixODBC-2.3.12/lib -lodbc -lc -fno-emit-bin --cache-dir /home/alex/workspace/mjoerussell/zig-odbc/zig-cache --global-cache-dir /home/alex/.cache/zig --name util --listen=-
Build Summary: 1/3 steps succeeded; 1 failed (disable with --summary none)
test transitive failure
└─ zig test util Debug native 1 errors
src/util.zig:2:29: error: root struct of file 'builtin' has no member named 'TypeInfo'
const TypeInfo = std.builtin.TypeInfo;
                 ~~~~~~~~~~~^~~~~~~~~
referenced by:
    Bitmask: src/util.zig:8:38
    test.bitmask: src/util.zig:74:22
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

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

Successfully merging a pull request may close this issue.

1 participant