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

Use aspect hint for CYaml in Bazel #423

Closed

Conversation

luispadron
Copy link
Collaborator

rules_swift 2.0 requires using the aspect_hints attribute to specify interop between cc_library and swift_library. This change adds the aspect_hints attribute to the cc_library rule for CYaml. It increases the minimum supported rules_swift version to 2.0

rules_swift 2.0 requires using the `aspect_hints` attribute to specify interop between `cc_library` and `swift_library`.
This change adds the `aspect_hints` attribute to the `cc_library` rule for CYaml.
It increases the minimum supported rules_swift version to 2.0
@@ -5,7 +5,7 @@ module(
)

bazel_dep(name = "apple_support", version = "1.15.1")
bazel_dep(name = "rules_swift", version = "1.18.0", repo_name = "build_bazel_rules_swift", max_compatibility_level = 2)
bazel_dep(name = "rules_swift", version = "2.0.0", repo_name = "build_bazel_rules_swift")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should wait until 2.1.1 is approved, and use that, since it has a big bug fix in it.

@luispadron
Copy link
Collaborator Author

Because this has a custom module map which is found via includes, we don't actually need to use aspect hints / increase rules_swift version

@luispadron luispadron closed this Jul 10, 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.

2 participants