Message ID | 2660902b-2280-4d5d-9636-ef76e74a1cd3@hexco.de |
---|---|
State | New |
Headers | show |
Series | install.texi --enable-languages: add rust to the list of languages | expand |
On Sat, 2024-12-14 at 15:11 +0100, Heiko Eißfeldt wrote: > > ```grep ^language= */config-lang.in``` > > with the list from the doc > > I noticed that the last addition rust was missing. I'm not sure if we want to expose it to all the users. As at now the rust FE is still in early development and it's not useful for compiling any real rust programs.
Xi Ruoyao <xry111@xry111.site> writes: > On Sat, 2024-12-14 at 15:11 +0100, Heiko Eißfeldt wrote: >> >> ```grep ^language= */config-lang.in``` >> >> with the list from the doc >> >> I noticed that the last addition rust was missing. > > I'm not sure if we want to expose it to all the users. As at now the > rust FE is still in early development and it's not useful for compiling > any real rust programs. That might've been why it was omitted in the first place - CCing in gcc-rust@ to see if anyone knows (in either case, it'd be worth adding a comment so that in future it is easy to tell).
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 9109c172039..1904a0e3c12 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2051,7 +2051,7 @@ grep ^language= */config-lang.in Currently, you can use any of the following: @code{all}, @code{default}, @code{ada}, @code{c}, @code{c++}, @code{d}, @code{fortran}, @code{go}, @code{jit}, @code{lto}, @code{m2}, -@code{objc}, @code{obj-c++}. +@code{objc}, @code{obj-c++}, @code{rust}. Building the Ada compiler has special requirements, see below. If you do not pass this flag, or specify the option @code{default}, then the default languages available in the @file{gcc} sub-tree will be configured.