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 error #34

Closed
bedbad opened this issue Mar 3, 2023 · 1 comment · Fixed by #35
Closed

Compile error #34

bedbad opened this issue Mar 3, 2023 · 1 comment · Fixed by #35

Comments

@bedbad
Copy link

bedbad commented Mar 3, 2023

OS: Macos
Arch: arm64(Darwin)
Steps to reproduce:

  1. Clone zld
  2. With the latest binary (dev.1836+28364166e)
zig_repo/zig build  
/_path_/zld/build.zig:27:8: error: no field or member function named 'addPackagePath' in 'Build.CompileStep'
    lib.addPackagePath("dis_x86_64", "zig-dis-x86_64/src/dis_x86_64.zig");
    ~~~^~~~~~~~~~~~~~~
/path_to_zig_repo/lib/std/Build/CompileStep.zig:1:1: note: struct declared here
const builtin = @import("builtin");

Earlier binaries produce other compile errors.

@bedbad
Copy link
Author

bedbad commented Mar 3, 2023

Apparently this issue is caused by not conforming to the updated breaking zig Build API:
ziglang/zig#14498

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