Commit 638515e
committed
Add
People often parse `-vV` output to get to the host triple, which is
annoying to do. It's easier to just get it directly.
I called it "host-triple" instead of "host" because it's clearer that
it's just the target name.--print host-triple
1 parent 30f6bb6 commit 638515e
4 files changed
Lines changed: 9 additions & 0 deletions
File tree
- compiler
- rustc_driver_impl/src
- rustc_session/src
- tests/ui/print-request
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
737 | 738 | | |
738 | 739 | | |
739 | 740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
| |||
1863 | 1864 | | |
1864 | 1865 | | |
1865 | 1866 | | |
| 1867 | + | |
1866 | 1868 | | |
1867 | 1869 | | |
1868 | 1870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments