diff options
| author | Jeremy Drake <github@jdrake.com> | 2025-05-21 22:10:28 -0700 |
|---|---|---|
| committer | Jeremy Drake <github@jdrake.com> | 2025-05-22 11:06:52 -0700 |
| commit | 1f862a82e2ed32a0c9a6dc33fb7cf32ed7195653 (patch) | |
| tree | 92ad49c143b080a7841853a398661128b86dac1a /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | bf64d66bd58719fac2585eae5e546e5e1d9947f5 (diff) | |
| download | rust-1f862a82e2ed32a0c9a6dc33fb7cf32ed7195653.tar.gz rust-1f862a82e2ed32a0c9a6dc33fb7cf32ed7195653.zip | |
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
