Skip to content

Build.zig: Skip copying files that are used internally by the compiler#6510

Merged
andrewrk merged 1 commit into
ziglang:masterfrom
FireFox317:build-fix
Oct 5, 2020
Merged

Build.zig: Skip copying files that are used internally by the compiler#6510
andrewrk merged 1 commit into
ziglang:masterfrom
FireFox317:build-fix

Conversation

@FireFox317
Copy link
Copy Markdown
Contributor

@FireFox317 FireFox317 commented Oct 2, 2020

This might not be the best solution and would require some rework in the compiler to make sure that it uses a different cache directory for the internal files. But it does fix the issue

Closes #6493

Before this it was trying to copy all the files from the zig-cache dir
to the output dir, but in the current compiler architecture the cache
dir is also used for internal compiler files.
@andrewrk andrewrk self-assigned this Oct 4, 2020
@andrewrk
Copy link
Copy Markdown
Member

andrewrk commented Oct 4, 2020

Let me tackle this one please. Sorry about the regression

@andrewrk
Copy link
Copy Markdown
Member

andrewrk commented Oct 5, 2020

Thanks @FireFox317 - this is a nice solution until we can re-evaluate this code and think about how it should work.

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 this pull request may close these issues.

FileNotFound when building an exe in build.zig

2 participants