You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This flag disables the default parameter on attr.output and attr.output_list.
Flag: --incompatible_no_output_attr_default
Available since: 0.23 (February 2019 release)
Motivation
The previous default parameter of these attribute types was severely bug-prone, as two targets of the same rule would be unable to exist in the same package under default behavior. (Two targets both generating foo.txt in the same package would conflict.)
This flag disables the default parameter on
attr.output
andattr.output_list
.Flag: --incompatible_no_output_attr_default
Available since: 0.23 (February 2019 release)
Motivation
The previous default parameter of these attribute types was severely bug-prone, as two targets of the same rule would be unable to exist in the same package under default behavior. (Two targets both generating foo.txt in the same package would conflict.)
Additional details in #6241
Migration
Use Starlark macros to specify defaults for these attributes instead.
For example, replace:
with:
The text was updated successfully, but these errors were encountered: