diff options
| author | Colin Finck <mail@colinfinck.de> | 2024-08-09 15:02:18 +0200 |
|---|---|---|
| committer | Colin Finck <colin@reactos.org> | 2024-08-13 18:15:29 +0200 |
| commit | 71d98a8620b89f1efa3f597622a34396fd4966f8 (patch) | |
| tree | ccd6a01d6db12b4b04fd2e1745c38c7fa7f708db /compiler/rustc_interface/src/errors.rs | |
| parent | 80eb5a8e910e5185d47cdefe3732d839c78a5e7e (diff) | |
| download | rust-71d98a8620b89f1efa3f597622a34396fd4966f8.tar.gz rust-71d98a8620b89f1efa3f597622a34396fd4966f8.zip | |
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
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
