Commit cdd9338
authored
fix: don't call Args.add() with an integer (bazel-contrib#3259)
The documentation for Bazel's Args states that standard conversion rules
are only specified for strings, Files, and Labels. For all other types
the conversion to a string is done in an unspecified manner, which is
why it should be avoided.
Let's stay away from this unspecified behaviour by explicitly converting
the precompile optimization level to a string before calling Args.add().1 parent d91401c commit cdd9338
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments