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

scala_library shouldn't have a jvm_flags attribute #669

Closed
ittaiz opened this issue Jan 19, 2019 · 2 comments · Fixed by #840
Closed

scala_library shouldn't have a jvm_flags attribute #669

ittaiz opened this issue Jan 19, 2019 · 2 comments · Fixed by #840

Comments

@ittaiz
Copy link
Member

ittaiz commented Jan 19, 2019

AFAICT scala_library doesn't use jvm_flags attribute anymore since we have scalac_jvm_flags and javac_jvm_flags.
It's only used by binary/repl/test/junit_test which are binary rules.
I'd like to remove it.
On the one hand it's a breaking change OTOH the current attribute is deprecated for many months now.
@johnynek any objections?
cc @aherrmann since I think he was interested in this attribute from #621

@johnynek
Copy link
Member

I guess it is fine to remove it. It should be easy to migrate since it is a no-op. If people follow the pattern of making their own macro wrapper for rules so they can control default options it would be even easier to migrate: their wrapper can accept the option but just discard it.

@ittaiz
Copy link
Member Author

ittaiz commented Jan 19, 2019 via email

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 a pull request may close this issue.

2 participants