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

[nfc] wd_capnp_library - capnp libraries for multiple languages #2794

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

mikea
Copy link
Collaborator

@mikea mikea commented Sep 24, 2024

For a given file-name.capnp it will produce:

  • file-name_capnp c++ library
  • file-name_capnp_rust rust library

Makes definining and managing capnp libraries simpler.

@mikea mikea force-pushed the maizatskyi/2024-09-24-capnp-rust branch 6 times, most recently from 3368ae7 to ac7c589 Compare September 30, 2024 15:11
@mikea mikea changed the title rust_capnp_library [nfc] wd_capnp_library - capnp libraries for multiple languages Sep 30, 2024
@mikea mikea force-pushed the maizatskyi/2024-09-24-capnp-rust branch from ac7c589 to 61c359f Compare September 30, 2024 15:13
@mikea mikea requested a review from fhanau September 30, 2024 15:13
@mikea mikea marked this pull request as ready for review September 30, 2024 15:13
@mikea mikea requested review from a team as code owners September 30, 2024 15:13
wd_capnp_library generates both c++ and rust versions
@mikea mikea force-pushed the maizatskyi/2024-09-24-capnp-rust branch from 61c359f to 1ca74bb Compare September 30, 2024 15:51
visibility = visibility,
deps = deps,
srcs = [src],
tags = ["manual"] + tags,
Copy link
Collaborator

@fhanau fhanau Sep 30, 2024

Choose a reason for hiding this comment

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

So far this is implicitly tagged as "off-by-default" based on the cc_capnp_library definition – manual is probably fine though, glad we are managing this for Rust too so that we only build the rust wrapper crates when they are being used.

@mikea mikea merged commit b06e51c into main Sep 30, 2024
14 checks passed
@mikea mikea deleted the maizatskyi/2024-09-24-capnp-rust branch September 30, 2024 16:44
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