Skip to content

Commit db99ffd

Browse files
committed
Add mention of cargo requirement for rust frontend
Cargo is temporarily required in order to build some parts of GCC rust frontend. This requirement was not mentioned in the documentation. gcc/ChangeLog: * doc/install.texi: Mention cargo requirement. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
1 parent a3d7e4f commit db99ffd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

gcc/doc/install.texi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,13 @@ documentation including the target @code{SYSTEM} definition module.
313313
If Python3 is unavailable Modula-2 documentation will include a target
314314
independent version of the SYSTEM modules.
315315

316+
@item @anchor{GCCRS-prerequisite}Rust
317+
318+
In order to build GCCRS you need a working rust compiler, for now we
319+
are using cargo and rustc but in the future GCC will be able to compile
320+
it's own rust components and recompile itself with those components
321+
included.
322+
316323
@item A ``working'' POSIX compatible shell, or GNU bash
317324

318325
Necessary when running @command{configure} because some
@@ -3227,6 +3234,15 @@ and network filesystems.
32273234
@uref{prerequisites.html#GDC-prerequisite,,GDC prerequisites}.
32283235
@end ifhtml
32293236

3237+
@section Building the Rust compiler
3238+
3239+
@ifnothtml
3240+
@ref{GCCRS-prerequisite}.
3241+
@end ifnothtml
3242+
@ifhtml
3243+
@uref{prerequisites.html#GCCRS-prerequisite,,GCCRS prerequisites}.
3244+
@end ifhtml
3245+
32303246
@section Building with profile feedback
32313247

32323248
It is possible to use profile feedback to optimize the compiler itself. This

0 commit comments

Comments
 (0)