rustc: add a --print targets command
#31358
+101
−78
Merged