Re: [PATCH 4/4] ci(gitlab,windows): provide GNU Rust's host-linker support
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 24, 2026, 19:57 UTC
- Message-ID
- <b62a7c6d-6248-d957-ef76-3b7e3bf28105@gmx.de>
- In-Reply-To
- <arUH3Bi26yyVcrOb@pks.im>
Hi Patrick,
On Thu, 24 Sep 2026, Patrick Steinhardt wrote:
Show 14 quoted lines
> On Sat, Sep 19, 2026 at 12:12:13PM +0000, Johannes Schindelin via GitGitGadget wrote: > > From: Johannes Schindelin <johannes.schindelin@gmx.de> > > > > GitLab's MinGW job cannot find `x86_64-w64-mingw32-gcc` when linking > > gitcore's build script: > > https://gitlab.com/dscho/git1/-/jobs/16593470275 > > > > Although gitcore is a static library, Cargo first links `build.rs` > > as a host executable. We omitted the GNU MSI's `Gcc` feature, which > > supplies the required linker and platform libraries: > > https://github.com/rust-lang/rust/blob/1.96.0/src/etc/installer/msi/rust.wxs > > Hm. Does that mean that we now have two versions of GCC available, once > via the MinGW environment and once via Rust?
I don't think that Rust produces intermediate C by default, so no, this would include a second version of GCC. It will just make sure that the installed Rust version can produce libraries that GCC can link to.
Ciao, Johannes