You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: assembler does not rewrite relative dependency paths when copying libs to .labelle/deps/ #129
When the assembler copies local libs (e.g. from libs/needs_machine/) into .labelle/deps/labelle-needs_machine/, it preserves build.zig.zon files as-is without rewriting relative dependency paths. This causes transitive dependencies to resolve to the wrong location.
Repro
In flying-platform-labelle, both libs/needs_machine and libs/job_machine depend on labelle-fsm via a relative path:
From the original location (libs/needs_machine/), ../../../labelle-fsm correctly resolves up to labelle-toolkit/labelle-fsm.
After the assembler copies it to .labelle/deps/labelle-needs_machine/, the same ../../../labelle-fsm now resolves to flying-platform-labelle/labelle-fsm — which doesn't exist.
# Original (correct):
libs/needs_machine/ → ../../../labelle-fsm = labelle-toolkit/labelle-fsm ✓
# After copy (broken):
.labelle/deps/labelle-needs_machine/ → ../../../labelle-fsm = flying-platform-labelle/labelle-fsm ✗
Expected behavior
The assembler should rewrite relative .path dependencies in build.zig.zon when copying libs into .labelle/deps/, so they resolve correctly from the new location. Alternatively, transitive deps like labelle-fsm should also be copied into .labelle/deps/ and paths adjusted to point there.
Activity
Fix: rewrite relative .path deps when copying local libs to .labelle/…
Fix: rewrite relative .path deps when copying local libs to .labelle/…
Fix: rewrite relative .path deps when copying local libs to .labelle/…
Bump DEFAULT_ASSEMBLER_VERSION to 0.2.0