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

Improvements to better support cxx #2192

Merged
merged 5 commits into from
Oct 12, 2023

Conversation

illicitonion
Copy link
Collaborator

  • Support adding to deps from annotations in Cargo.toml files
  • Default extra_aliased_targets and gen_binaries to None rather than empty collections, because the rust code has explicit handling for None vs empty when merging.

* Support adding to `deps` from annotations in Cargo.toml files
* Default `extra_aliased_targets` and `gen_binaries` to `None` rather
  than empty collections, because the rust code has explicit handling
  for `None` vs empty when merging.
@illicitonion illicitonion enabled auto-merge (squash) October 11, 2023 21:31
@illicitonion illicitonion merged commit 0f582d5 into bazelbuild:main Oct 12, 2023
3 checks passed
@illicitonion illicitonion deleted the cxx-fixes branch October 12, 2023 16:32
UebelAndre pushed a commit that referenced this pull request Oct 14, 2023
This eliminates the annotation introduced by
#2192, because it includes
dtolnay/cxx#1277.

This PR includes handwritten changes to WORKSPACE.bazel followed by the
generated result of running:

- `cd examples/crate_universe/using_cxx`
- `CARGO_BAZEL_REPIN=1 bazel sync --only=using_cxx`
- `CARGO_BAZEL_REPIN=1 bazel sync --only=cxxbridge_cmd_deps`

Tested by running `bazel build ...` in the same directory.
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