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

Broken on zig 0.12.0 as well as 0.11.0 #53

Closed
MarioVieilledent opened this issue Aug 14, 2023 · 1 comment
Closed

Broken on zig 0.12.0 as well as 0.11.0 #53

MarioVieilledent opened this issue Aug 14, 2023 · 1 comment

Comments

@MarioVieilledent
Copy link

For both versions I got the same error.

Path', found '*const [97:0]u8'
                .x86_64 => step.addObjectFile(prefix ++ "/src/backends/win32/res/x86_64.o"),
                                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Windows\zig-windows-x86_64-0.11.0\lib\std\Build.zig:1672:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
C:\Windows\zig-windows-x86_64-0.11.0\lib\std\Build\Step\Compile.zig:1013:46: note: parameter type declared here
pub fn addObjectFile(self: *Compile, source: LazyPath) void {
Traxar added a commit to Traxar/capy that referenced this issue Aug 19, 2023
update build paths from []const u8 to LazyPaths
zenith391 added a commit that referenced this issue Aug 20, 2023
@zenith391
Copy link
Member

Duplicate of #51

@zenith391 zenith391 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
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

2 participants