Skip to content

feat: support Zig workspace extraction - #98

Merged
LukasNiessen merged 4 commits into
mainfrom
feat/48-zig-workspace-extraction
Aug 24, 2026
Merged

LukasNiessen merged 4 commits into
mainfrom
feat/48-zig-workspace-extraction

Conversation

@LukasNiessen

@LukasNiessen LukasNiessen commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add explicit and discovered workspace/package topology with manifest and ignore fingerprints
  • preserve package identity in graph nodes and resolve package-local, cross-package, and root imports in compilation context
  • add a real four-package fixture covering duplicate paths, nested manifests, exclusions, cache separation, and explicit package identities
  • document Zig-specific workspace semantics and trade-offs in D052

Validation

  • zig fmt --check build.zig build.zig.zon src
  • zig build test
  • zig build docs -Doptimize=ReleaseSafe (11 guide pages + compiler API docs)
  • hosted zig build benchmark-check: 1.19s total, 5,966,099-byte peak, zero final live bytes, stable digest, budgets enforced
  • local Windows benchmark retained the stable digest/allocation/memory results but exceeded two wall-clock budgets; no budgets were loosened

Closes #48

@LukasNiessen

Copy link
Copy Markdown
Collaborator Author

Self-review complete: no findings. Verified path containment and package identity, coherent topology/cache ownership, package-scoped module contexts, exclusion coordinate systems, failure cleanup, compatibility defaults, cross-platform checks, and the hosted performance artifact.

@LukasNiessen
LukasNiessen merged commit bd26b9f into main Aug 24, 2026
5 checks passed
@LukasNiessen
LukasNiessen deleted the feat/48-zig-workspace-extraction branch August 24, 2026 14:35
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.

Extraction: Zig workspaces, nested packages and multi-root projects

1 participant