-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Summary
typos-cli installed by bootstrap for spellcheck is really slow.
I found that bootstrap adds -Copt-lvel=0
option for installing the tool. It affects the performance.
Command used
./x test tidy --extra-checks=spellcheck
Expected behaviour
Spellcheck in the tidy test finishes in some seconds
Actual behaviour
Spellcheck takes 10~ seconds
Operating system
Ubuntu 24.04
HEAD
Additional context
We've discussed that on CI we'd like to set the opt-level (0 or 1), but on local dev env we'd like to install the tool without the option.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)