Skip to content

fix: default to latest known Zig version #441

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 4 commits into from
Mar 14, 2025
Merged

fix: default to latest known Zig version #441

merged 4 commits into from
Mar 14, 2025

Conversation

aherrmann
Copy link
Owner

rules_zig should default to the latest known Zig SDK version if none is specified in any MODULE.bazel files. This mechanism was broken.

This PR fixes that bug and adds an integration test to ensure that a minimal rules_zig use-case works.

Closes #438

  • Create minimal rules_zig integration test
  • Skip remote configuration in minimal test
  • Fix default Zig toolchain version configuration
  • Adjust minimal integration test timeout

@aherrmann aherrmann merged commit 4887786 into main Mar 14, 2025
47 checks passed
@aherrmann aherrmann deleted the known-versions branch March 14, 2025 11:18
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.

MODULES.bzl instructions incomplete?
1 participant