Commit fd3be77
committed
Auto merge of #5335 - dwijnand:target-autodiscovery, r=alexcrichton
Introduce autoXXX keys for target auto-discovery
In Rust 2015 absence of the configuration makes it default to not
include auto-discovered targets (i.e false), with a warnings message.
In Rust 2018 absence makes it default to include auto-discovered
targets (i.e true).
Fixes #5330
---
_original_
Fixes #5330
submitted for early review. feedback very welcome, I'm happy to iterate (and learn).
in particular I require assistance with the borrowing of `warnings` in `clean_benches`.File tree
7 files changed
+465
-64
lines changed- src
- cargo/util/toml
- doc/src/reference
- tests/testsuite
7 files changed
+465
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
462 | 466 | | |
463 | 467 | | |
464 | 468 | | |
| |||
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
636 | 653 | | |
637 | 654 | | |
638 | 655 | | |
639 | 656 | | |
640 | 657 | | |
641 | 658 | | |
642 | 659 | | |
| 660 | + | |
643 | 661 | | |
644 | 662 | | |
645 | 663 | | |
| |||
798 | 816 | | |
799 | 817 | | |
800 | 818 | | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | 819 | | |
814 | 820 | | |
815 | 821 | | |
| |||
0 commit comments