build_runner: Require some paths to be given#369
build_runner: Require some paths to be given#369SuperAuguste merged 1 commit intozigtools:masterfrom
Conversation
1394ac8 to
6cdb322
Compare
|
@InfRandomness Can you test if this fixes your problem? |
I had the problem with zig 0.9.0-dev, I will check it out a bit later |
|
For some reason, it does not compile with zig master @ 0.9.0-dev.755+799fedf61 : This also seems to happen on zls, so this might be an upstream issue |
6cdb322 to
78f84bc
Compare
|
@InfRandomness -- just add u8 as the first parameter of the affected mem functions, since they're generic now |
|
Would it be okay for you to update your branch with the latest upstream changes on master ? so I can build this |
|
I'll rebase on zls master once I'm back from vacation. |
78f84bc to
4378518
Compare
|
Rebased. |
|
@SuperAuguste Gentle ping :) |
4378518 to
6eb9ff4
Compare
We now require the following to ge given in the cli args: - zig_exe - build_root - cache_root - global_cache_root This fixes the path for packages that use one or more from the above to place their files.
6eb9ff4 to
53bb60a
Compare
|
Oops sorry, will merge once ci passes:) |
|
LGTM! |
For the build runner we now require the following to ge given in the cli args:
This fixes the path for packages that use one or more from the above to place
their files.
Some examples are
vulkan-zigandzig-waylandthat both place their files in thezig-cachedirectory.For symmetry with the original
build_runner.zigI just copied over the code from it. We don't actually needglobal_cache_rootso we might consider removing it.Probably closes #367