@@ -53,10 +53,9 @@ Comma separated list of types of crates for the compiler to emit.
5353Specify the name of the crate being built.
5454.TP
5555\fB \-\- emit \fR [asm|llvm\- bc|llvm\- ir|obj|link|dep\- info][=\fI PATH \fR ]
56- Configure the output that \fB rustc \fR will produce.
57-
58- Each emission may also have an optional explicit output \fI PATH \fR specified for that particular
59- emission kind. This path takes precedence over the \fB -o \fR option.
56+ Configure the output that \fB rustc \fR will produce. Each emission may also have
57+ an optional explicit output \fI PATH \fR specified for that particular emission
58+ kind. This path takes precedence over the \fB -o \fR option.
6059.TP
6160\fB \-\- print \fR [crate\- name|file\- names|sysroot]
6261Comma separated list of compiler information to print on stdout.
@@ -68,13 +67,11 @@ Equivalent to \fI\-C\ debuginfo=2\fR.
6867Equivalent to \fI \- C \ opt \- level=2 \fR .
6968.TP
7069\fB \- o \fR \fI FILENAME \fR
71- Write output to \fI FILENAME \fR .
72- Ignored if multiple \fI \-\- emit \fR outputs are specified which don't have an
73- explicit path otherwise.
70+ Write output to \fI FILENAME \fR . Ignored if multiple \fI \-\- emit \fR outputs are specified which
71+ don't have an explicit path otherwise.
7472.TP
7573\fB \-\- out \- dir \fR \fI DIR \fR
76- Write output to compiler\[hy ] chosen filename in \fI DIR \fR .
77- Ignored if \fI \- o \fR is specified.
74+ Write output to compiler\[hy ] chosen filename in \fI DIR \fR . Ignored if \fI \- o \fR is specified.
7875Defaults to the current directory.
7976.TP
8077\fB \-\- explain \fR \fI OPT \fR
@@ -83,12 +80,26 @@ Provide a detailed explanation of an error message.
8380\fB \-\- test \fR
8481Build a test harness.
8582.TP
86- \fB \-\- target \fR \fI TRIPLE \fR
87- Target triple \fI cpu \fR \- \fI manufacturer \fR \- \fI kernel \fR [\- \fI os \fR ]
88- to compile for (see chapter 3.4 of
89- .UR http://www.sourceware.org/autobook/
90- .UE
91- for details).
83+ \fB \-\- target \fR \fI TARGET \fR
84+ Target triple for which the code is compiled. This option defaults to the host’s target
85+ triple. The target triple has the general format <arch><sub>\- <vendor>\- <sys>\- <abi>, where:
86+ .RS
87+ .TP
88+ .B <arch>
89+ x86, arm, thumb, mips, etc.
90+ .TP
91+ .B <sub>
92+ for example on ARM: v5, v6m, v7a, v7m, etc.
93+ .TP
94+ .B <vendor>
95+ pc, apple, nvidia, ibm, etc.
96+ .TP
97+ .B <sys>
98+ none, linux, win32, darwin, cuda, etc.
99+ .TP
100+ .B <abi>
101+ eabi, gnu, android, macho, elf, etc.
102+ .RE
92103.TP
93104\fB \- W help \fR
94105Print 'lint' options and default settings.
0 commit comments