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

Have go_binary emit CcInfo #2433

Closed
steeve opened this issue Apr 15, 2020 · 1 comment
Closed

Have go_binary emit CcInfo #2433

steeve opened this issue Apr 15, 2020 · 1 comment

Comments

@steeve
Copy link
Contributor

steeve commented Apr 15, 2020

Now that Bazel 2.2 is the minimum version for rules_go, I was thinking it would be cool for go_library or go_binary to emit CcInfo.

Benefits are:

  • go_library/binary can be directly put into the deps of a cc_library
  • linkmode could be automatically inferred
  • remove legacy .cc target and associated macros targets, so pure rule

I think it would be easier to do it after #2414 lands, however.

@jayconrod
Copy link
Contributor

I would love to get rid of those .cc targets and not have to deal with cc_import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants