about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/intrinsic.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-28 18:13:13 +0200
committerGitHub <noreply@github.com>2025-09-28 18:13:13 +0200
commit4eb6b8f43f37b612db58b9cd1682ee7256fb0c43 (patch)
treebdb6283fd179b4089350659b0ac18ee6d872006d /compiler/rustc_codegen_llvm/src/intrinsic.rs
parentaa6bd559488a3ad7b6eeff1eb4c75a6e2c6e2632 (diff)
parent5e9cab39213b892fdb5eb24d2d27f1ab0918ce46 (diff)
downloadrust-4eb6b8f43f37b612db58b9cd1682ee7256fb0c43.tar.gz
rust-4eb6b8f43f37b612db58b9cd1682ee7256fb0c43.zip
Rollup merge of #147120 - Shunpoco:issue-147105, r=Kobzol
Fix --extra-checks=spellcheck to prevent cargo install every time

Fixes rust-lang/rust#147105

## Background
Current implementation of `ensure_version_of_cargo_install` 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.

## Change
Move lines which define bin_path at the top of the function, and use bin_path for the check
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/intrinsic.rs')
0 files changed, 0 insertions, 0 deletions