Skip to content
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

feat: remove zig_runfiles in favor of bazel_builtin #212

Merged
merged 4 commits into from
Feb 4, 2024
Merged

Conversation

aherrmann
Copy link
Owner

Depends on #211
Part of #86

At this point the zig_runfiles rule was only used to provide the current repository name for runfiles lookup. This can now be done using the implicit bazel_builtin package instead.

In future we may want to implement a zig_runfiles rule similar to what is provided by https://github.com/fmeum/rules_runfiles. However, rules_runfiles may be the better home for such a rule.

  • zig_runfiles -> bazel_builtin - current_repository
  • Remove zig_runfiles
  • Update generated files
  • Set size = "small" on a small test

Replace zig_runfiles by bazel_builtin to determine current_repository.
At this point the zig_runfiles rule was only used to provide the current
repository name for runfiles lookup. This can now be done using the
implicit bazel_builtin package instead.

In future we may want to implement a zig_runfiles rule similar to what
is provided by https://github.com/fmeum/rules_runfiles. However,
rules_runfiles may be the better home for such a rule.
Base automatically changed from bazel_builtin to main February 4, 2024 20:11
@aherrmann aherrmann enabled auto-merge February 4, 2024 20:13
@aherrmann aherrmann merged commit d663e56 into main Feb 4, 2024
@aherrmann aherrmann deleted the runfiles branch February 4, 2024 20:29
@aherrmann aherrmann changed the title feat: Remove zig_runfiles rule feat: remove zig_runfiles in favor of bazel_builtin Feb 5, 2024
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