Commit cd40666
replace _get_canonical_form(label) with str(label)
Fixes a bug where the label returned from _get_canonical_form() was missing a leading @.
Now that `--incompatible_unambiguous_label_stringification=true` is on by default, str(label) already returns the appropriate target label.
RELNOTES: Fixes a bug where some compilation flags would not be applied to a cc_test
PiperOrigin-RevId: 491632546
Change-Id: Ib00d7004636283c9d39d9612d7fe2e5e314296531 parent 0b15a07 commit cd40666
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 369 | | |
376 | 370 | | |
377 | 371 | | |
| |||
399 | 393 | | |
400 | 394 | | |
401 | 395 | | |
402 | | - | |
| 396 | + | |
403 | 397 | | |
404 | 398 | | |
405 | 399 | | |
| |||
0 commit comments