-
-
Notifications
You must be signed in to change notification settings - Fork 685
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
go_library to support gotags #3203
Comments
@fmeum A friend of mine ran into this problem recently: Package We applied the However, Overall, this seems to be caused by the |
@sluongng If a |
Adding "manual" is a great idea! We also tinkered with "--define gotags=" but that would have set it up globally for entire repo. |
Actually, with all the transitions around, maybe go_library should be manual by default to prevent build failure or duplication? @linzhp Have you thought about this before? |
One of the nice things about having go_libraries not be manual is that they will perform type/syntax checking in most CI systems that |
Yes, but they would still typecheck if they were dependencies of something else. Having thought about this some more, I think that the current semantics of Since adding If anyone has an issue with this where |
A quick hack for use cases where you could apply a global go tag to all
|
Following up on a usecase here where having |
Hi there, we have a library which requires custom build tags to build it (because there is a TinyGo specific target that cannot be complied by Bazel for now #3197, and we want to exclude it using go build tags).
Can we pass in the gotags to it? Why does go_library not support gotags? We found this previous issue similarly #1351, but it seems only added support to go_binary and go_test, not go_library.
The text was updated successfully, but these errors were encountered: