This repository was archived by the owner on May 28, 2025. It is now read-only.
forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit fcfe05a
Auto merge of rust-lang#119441 - Urgau:check-cfg-simplify-bootstrap-args, r=onur-ozkan
Simplify bootstrap `--check-cfg` arguments
This PR simplifies the generated check-cfg arguments generated for the no-values case.
For the `bootstrap` cfg:
```diff
- --check-cfg=cfg(bootstrap,values())
+ --check-cfg=cfg(bootstrap)
```
Those are equivalent, so there isn't any semantic difference; but the invocation is short and less distracting.
`@rustbot` label +F-check-cfgFile tree
3 files changed
+35
-14
lines changed- src/bootstrap/src
- core
- tests
- utils
3 files changed
+35
-14
lines changedLines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | - | ||
24 | + | ||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
1467 | 1467 |
| |
1468 | 1468 |
| |
1469 | 1469 |
| |
1470 | - | ||
1471 | - | ||
1472 | - | ||
1473 | - | ||
1474 | - | ||
1475 | - | ||
1476 | - | ||
1477 | - | ||
1478 | - | ||
1479 | - | ||
1480 | - | ||
1481 | - | ||
1470 | + | ||
1482 | 1471 |
| |
1483 | 1472 |
| |
1484 | 1473 |
| |
|
Lines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + |
Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
552 | 552 |
| |
553 | 553 |
| |
554 | 554 |
| |
555 | + | ||
556 | + | ||
557 | + | ||
558 | + | ||
559 | + | ||
560 | + | ||
561 | + | ||
562 | + | ||
563 | + | ||
564 | + | ||
565 | + | ||
566 | + | ||
567 | + | ||
568 | + | ||
569 | + | ||
570 | + | ||
571 | + | ||
572 | + | ||
573 | + |
0 commit comments