Skip to content

chore: don't hard-code platforms and versions #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 27, 2024
Merged

Conversation

aherrmann
Copy link
Owner

Make the underlying repository rules to fetch a Zig toolchain and generate the toolchains repository independent of any hard-coded or checked-in set of known platforms or Zig versions.

This is in preparation for user-provided platforms or Zig SDK version specifications and relevant to #76.

  • Simplified zig_repository implementation
  • Use new zig_repository in toolchain macro
  • Replace old zig_repository repository rule
  • Format docstring
  • Move toolchains repo under repo/
  • Factor out platforms
  • Remove outdated targets
  • Don't hard-code platforms in toolchains_repo
  • Factor out doc and attrs

@aherrmann aherrmann enabled auto-merge April 24, 2024 06:38
@aherrmann aherrmann merged commit 38a0937 into main Apr 27, 2024
@aherrmann aherrmann deleted the user-defined-versions branch April 27, 2024 10:33
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.

1 participant