uv/crates/platform-host
Andrew Gallant deef6c102d
platform-host: check /bin/sh, then /bin/dash and then /bin/ls (#1818)
Previously, we were only checking /bin/sh. While that works in most
cases, it seems like there are still scenarios where /bin/sh isn't an
executable itself, and is instead just a shell script that calls
/bin/dash. (See #1810 for example.)

In this PR, we make the `ld` detection a bit more robust by trying
multiple paths. As with previous changes, we emit copious logs to help
debug this in the future.

It's not totally clear how to test this. I'm not sure how to reproduce
the environment mentions in #1810 specifically since it seems like an
internal variant of WSL Ubuntu.

Fixes #1810
2024-02-21 11:49:28 -05:00
..
src platform-host: check /bin/sh, then /bin/dash and then /bin/ls (#1818) 2024-02-21 11:49:28 -05:00
Cargo.toml Use Clippy lint table over Cargo config (#490) 2023-11-22 15:10:27 +00:00