git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 18:11 UTC

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

Previous: Johannes SchindelinNext: Johannes Schindelin via GitGitGadget
Message 17 of 27 in “gitlab-ci: fix the cargo invocation in the Windows job”
  1. 0/4 gitlab-ci: fix the cargo invocation in the Windows jobJohannes Schindelin via GitGitGadget, Sep 19, 2026
  2. 1/4 ci(gitlab,windows): provision GNU Rust for SDK-based MinGW buildsJohannes Schindelin via GitGitGadget, Sep 19, 2026
  3. 2/4 ci(gitlab,windows): preserve exclusions during dependency setupJohannes Schindelin via GitGitGadget, Sep 19, 2026
  4. 3/4 ci(gitlab,windows): fix Rust setup for GitLab's MinGW buildJohannes Schindelin via GitGitGadget, Sep 19, 2026
  5. 4/4 ci(gitlab,windows): provide GNU Rust's host-linker supportJohannes Schindelin via GitGitGadget, Sep 19, 2026
  6. Karthik NayakSep 19, 2026
  7. Johannes SchindelinSep 20, 2026
  8. Karthik NayakSep 21, 2026
  9. Johannes SchindelinSep 22, 2026
  10. Karthik NayakSep 23, 2026
  11. Patrick SteinhardtSep 24, 2026
  12. Patrick SteinhardtSep 24, 2026
  13. Patrick SteinhardtSep 24, 2026
  14. Patrick SteinhardtSep 24, 2026
  15. Johannes SchindelinSep 24, 2026
  16. Johannes SchindelinSep 24, 2026
  17. Johannes SchindelinSep 24, 2026
  18. 0/4 gitlab-ci: fix the cargo invocation in the Windows jobJohannes Schindelin via GitGitGadget, Sep 24, 2026
  19. 1/4 ci(gitlab,windows): provision GNU Rust for SDK-based MinGW buildsJohannes Schindelin via GitGitGadget, Sep 24, 2026
  20. 2/4 ci(gitlab,windows): preserve exclusions during dependency setupJohannes Schindelin via GitGitGadget, Sep 24, 2026
  21. 3/4 ci(gitlab,windows): fix Rust setup for GitLab's MinGW buildJohannes Schindelin via GitGitGadget, Sep 24, 2026
  22. 4/4 ci(gitlab,windows): provide GNU Rust's host-linker supportJohannes Schindelin via GitGitGadget, Sep 24, 2026
  23. Patrick SteinhardtSep 28, 2026
  24. Patrick SteinhardtSep 28, 2026
  25. Johannes SchindelinSep 28, 2026
  26. Junio C HamanoSep 28, 2026
  27. Junio C HamanoSep 28, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.