Commit 756fc61
committed
Revert "Rollup merge of rust-lang#134209 - onur-ozkan:check-skip-paths, r=jieyouxu"
Unfortunately, the preset logic is not quite right because `Step`s are
allowed to register arbitrary *aliases* (e.g. `library/test` is aliases
to `test`), which means that we incorrectly warn on
```
./x test --exclude test
```
producing
```
WARNING: '/home/joe/repos/rust/test' does not exist.
```
even though this alias (`test`) is indeed a known and handled
`--exclude` filter.
A proper fix will need to do something like "collect all eligible
`Step`s then check `should_run(exclude)`" in order to determine if the
exclude filter will trigger for the steps. (Courtesy of jyn pointing
this out.)
This reverts commit 6cf13b0, reversing
changes made to 2846699.1 parent ecc1899 commit 756fc61
1 file changed
+1
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
1346 | | - | |
1347 | | - | |
| 1323 | + | |
1348 | 1324 | | |
1349 | 1325 | | |
1350 | 1326 | | |
| |||
0 commit comments