Skip to content

run spellcheck in tidy forces bootstrap to install typos-cli every time #147105

@Shunpoco

Description

@Shunpoco

Summary

I found that typos-cli is installed whenever I run ./x test tidy --extra-checks=spellcheck.

Command used

./x test tidy --extra-checks=spellcheck

Expected behaviour

At first it installs the tool, but next time it shouldn't install unless the version of the tool is the same.

Actual behaviour

Every time it installs the same tool.

Bootstrap configuration (bootstrap.toml)

# See bootstrap.example.toml for documentation of available options
#
profile = "compiler"  # Includes one of the default files in src/bootstrap/defaults
change-id = 146663

Operating system

Ubuntu 24.04

HEAD

ade8487

Additional context

It seems that ensure_version_or_cargo_install uses a wrong path for the tool

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions