diff options
| author | 2026-07-19 15:07:23 +0200 | |
|---|---|---|
| committer | 2026-08-03 08:03:24 +0200 | |
| commit | fd045c81ed45517b023ea95e7b80a801c48e5463 (patch) | |
| tree | 29fb405f296a2570d10e561f817affd6cbba49f1 /scripts/Makefile.thinlto | |
| parent | objtool/rust: add one more `noreturn` Rust function for Rust 1.99.0 (diff) | |
rust: rust_is_available: support testing with `bash` as `/bin/sh`
`command -v` behaves differently on `dash` vs. `bash` when faced with
a file without the execute bit.
Thus, for the non-executable `rustc` and `bindgen` tests, support both
possible outputs that the script currently gives.
This makes the test script clean on distributions like Fedora.
Reviewed-by: Onur Özkan <work@onurozkan.dev>
Link: https://patch.msgid.link/20260719130723.162899-1-ojeda@kernel.org
[ Added custom assertion message as suggested. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
