-
Notifications
You must be signed in to change notification settings - Fork 98
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
Trying to modify immutable set #39
Comments
I have tested this on 0.26 and 1.2.0 and both fail when using rules_cc instead of built in native rules if your project also uses tags. I thought perhaps mutability had changed over time, but I don't think this line ever worked. @oquenchil @hlopko? |
Fixed here: |
You will have to include a later commit of rules_cc |
|
Is this still a problem?
Seems to work alright. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the problem / feature request:
Problem occurs if a tag is already used in a rule:
File "D:/build/j4jghgxg/external/rules_cc/cc/defs.bzl", line 21, in _add_tags
attrs["tags"] += [_MIGRATION_TAG]
trying to mutate a frozen object
I guess it is not ready to use yet, but this seems like a bug anyway
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Use rules_cc with a rule with existing "tags"
What operating system are you running Bazel on?
0.29.1
What version of rules_cc do you use? Can you paste the workspace rule used to fetch rules_cc? What other relevant dependencies does your project have?
0d5f3f2
Have you found anything relevant by searching the web?
Nope :)
The text was updated successfully, but these errors were encountered: