diff options
| author | Shunpoco <tkngsnsk313320@gmail.com> | 2025-09-28 09:46:20 +0100 |
|---|---|---|
| committer | Shunpoco <tkngsnsk313320@gmail.com> | 2025-09-28 09:46:20 +0100 |
| commit | 5e9cab39213b892fdb5eb24d2d27f1ab0918ce46 (patch) | |
| tree | 60fdca028252e9008668fe5ac9eacca949e4347f /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | c7f6aa2869acdbf014d094c6e427e554e160b6db (diff) | |
| download | rust-5e9cab39213b892fdb5eb24d2d27f1ab0918ce46.tar.gz rust-5e9cab39213b892fdb5eb24d2d27f1ab0918ce46.zip | |
modify ensure_version_or_cargo_install to check existing binary
Current implementation uses bin_name to check if it exists, but it should use tool_root_dir/tool_bin_dir/bin_name instead. Otherwise the check fails every time, hence the function falls back to install the binary.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
