Can’t run binaries with debuginfo created by x86_64-pc-windows-gnu
compiler
#141096
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
I tried this code:
with command (run in powershell console)
I expected to see this happen: command silently exits.
Instead, this happened: starting with version 1.86 command exits with
due to failure while running
build.exe
. (This message is powershell complaining about build.exe not being valid executable for this operating system.)Meta
First failing version tried:
rustc +1.86-x86_64-pc-windows-gnu --version --verbose
Last failing version tried:
rustc +nightly-x86_64-pc-windows-gnu --version --verbose
Last succeeding version tried:
rustc +1.85-x86_64-pc-windows-gnu --version --verbose
Additional details
This looks like #139380, except that rustc is installed on the same machine which attempts to run executable. Used windows version is Windows 10 Pro 21H2 19044.1526.
If
rustc
command changes torustc +$ver-x86_64-pc-windows-gnu -C strip=debuginfo .\build.rs
everything is fine for both1.86
andnightly
. Issue is not present onx86_64-pc-windows-msvc
target.The text was updated successfully, but these errors were encountered: