Running individual example causes it to rebuild everytime #265

Closed
opened 2022-05-01 13:26:18 +00:00 by iddev5 · 5 comments
iddev5 commented 2022-05-01 13:26:18 +00:00 (Migrated from github.com)

Bug caused by https://github.com/hexops/mach/pull/259

When an individual example is run, say zig build run-example-triangle, it is being forced to rebuilt every time despite it being already install/in latest state.

Bug caused by https://github.com/hexops/mach/pull/259 When an individual example is run, say ``zig build run-example-triangle``, it is being forced to rebuilt every time despite it being already install/in latest state.
iddev5 commented 2022-05-01 13:31:15 +00:00 (Migrated from github.com)

This could be a compiler bug because I have a project with similar changes as #259 and it works completely fine.

This could be a compiler bug because I have a project with similar changes as #259 and it works completely fine.
InKryption commented 2022-05-01 14:08:47 +00:00 (Migrated from github.com)

Is the behaviour the same on both Linux and Windows?

Is the behaviour the same on both Linux and Windows?
iddev5 commented 2022-05-01 14:25:12 +00:00 (Migrated from github.com)

I can only test on Linux.

I can only test on Linux.
emidoots commented 2022-05-01 18:45:35 +00:00 (Migrated from github.com)

Can you try wiping out zig-cache? I'd be curious if it's a bug in zig-caching behavior

Can you try wiping out `zig-cache`? I'd be curious if it's a bug in zig-caching behavior
iddev5 commented 2022-05-02 01:59:54 +00:00 (Migrated from github.com)

Yeah that was it. It's strange that it happened to two copies of Mach for me. But I don't think there is a solid repro for it.

Yeah that was it. ~~It's strange that it happened to two copies of Mach for me.~~ But I don't think there is a solid repro for it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#265
No description provided.