about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-23 20:30:11 +0200
committerGitHub <noreply@github.com>2025-05-23 20:30:11 +0200
commit8b69895ec2ee4b85ef5311468accf12f4460ec12 (patch)
tree11556ba2152492dc8a316e46936368fdd93004ac /compiler/rustc_codegen_gcc
parenta4836e996567c87ebffb499a3c08246d7af3068e (diff)
parent1f862a82e2ed32a0c9a6dc33fb7cf32ed7195653 (diff)
downloadrust-8b69895ec2ee4b85ef5311468accf12f4460ec12.tar.gz
rust-8b69895ec2ee4b85ef5311468accf12f4460ec12.zip
Rollup merge of #141374 - jeremyd2019:patch-1, r=jieyouxu
make shared_helpers exe function work for both cygwin and non-cygwin hosts

On Cygwin, it needs to not append .exe, because /proc/self/exe (and therefore `std::env::current_exe`) does not include the .exe extension, breaking bootstrap's rustc wrapper.  On hosts other than Cygwin, it *does* need to append .exe because the file really does have a .exe extension, and non-Cygwin hosts won't be doing the same filename rewriting that Cygwin does when looking for a file X but finding only X.exe in its place.

Arising from discussion in https://github.com/rust-lang/rust/pull/140154#pullrequestreview-2855782812
``@mati865`` ``@Berrysoft``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions