about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-23 06:26:52 +0200
committerGitHub <noreply@github.com>2024-08-23 06:26:52 +0200
commit6a1418aafec5295de897e1c47ac2a9a24a7248b6 (patch)
treedf73e4bca847c8e69e7093f6421465ff5b10aa98 /compiler/rustc_interface/src/errors.rs
parent370b3265ffb64e29ba3e960fa33f8fef80c11875 (diff)
parent71d98a8620b89f1efa3f597622a34396fd4966f8 (diff)
downloadrust-6a1418aafec5295de897e1c47ac2a9a24a7248b6.tar.gz
rust-6a1418aafec5295de897e1c47ac2a9a24a7248b6.zip
Rollup merge of #128876 - ColinFinck:rust-lld-with-runtime-dlls, r=Kobzol,petrochenkov,jieyouxu
Ship MinGW-w64 runtime DLLs along with `rust-lld.exe` for `-pc-windows-gnu` targets

`rust-lld.exe` built for `x86_64-pc-windows-gnu` depends on `libgcc_s_seh-1.dll` and `libwinpthread-1.dll` from MinGW-w64. Until now, they were not shipped alongside `rust-lld.exe`, and you could not run `rust-lld.exe` on most systems.

This problem didn't surface until now because:
* Most targets don't use `rust-lld` by default.
* Some people had these DLLs in their `PATH` from some other MinGW binary.
* `rustup` used to add `bin` to the `PATH`, which contains these DLLs for `rustc.exe`. But it no longer does that: https://github.com/rust-lang/rustup/commit/ce3c09a0cb126e2c65a3bb2a3bbf3f098b4c23a2

Fixes #125809

try-job: dist-x86_64-mingw
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions