[PATCH] build: Check for cargo when building rust language
Arthur Cohen
arthur.cohen@embecosm.com
Tue Apr 9 10:40:23 GMT 2024
Morning all,
On 4/9/24 09:47, John Paul Adrian Glaubitz wrote:
> Hello,
>
> On Mon, 2024-04-08 at 18:33 +0200, pierre-emmanuel.patry@embecosm.com wrote:
>> The rust frontend requires cargo to build some of it's components,
>> it's presence was not checked during configuration.
>
> Isn't this creating a hen-and-egg problem? How am I supposed to build a Rust
> compiler for a target which is not supported by rustc (yet) when gccrs is
> supposed to build-depend on cargo which requires rustc?
>
> Adrian
>
Quick reminder in case you haven't seen our Request for Comments on the
main ML that this is only a temporary solution. Once gccrs can compile
its dependencies, we'll go through a more "classical" bootstrapping chain.
rustc_codegen_gcc can probably already be used for building these
dependencies however, if you'd like to have a look at that.
Kindly,
Arthur
More information about the Gcc-rust
mailing list