Update Cargo install command to use --locked option to fix #8186#8731
Update Cargo install command to use --locked option to fix #8186#8731
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Greptile SummaryThis PR fixes a documented build failure (#8186) by adding the
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User runs cargo install mise] --> B{--locked flag present?}
B -- No --> C[Cargo resolves latest dependency versions]
C --> D[Version mismatch with Cargo.lock]
D --> E[Build error - issue #8186]
B -- Yes --> F[Cargo uses locked versions from Cargo.lock]
F --> G[Dependencies match expected versions]
G --> H[Build succeeds]
|
### 🚀 Features - **(github)** add github_tokens.toml, git credential fill, and `mise github token` command by @jdx in [#8742](#8742) - **(registry)** add tart by @mnm364 in [#8727](#8727) ### 🐛 Bug Fixes - **(python)** respect precompiled flavor when excluding freethreaded builds by @risu729 in [#8745](#8745) - **(shim)** revert shims directory check that caused hangs on macOS by @jdx in [e1b8ca4](e1b8ca4) ### 📚 Documentation - **(python)** swap docs for python.precompiled_arch and python.precompiled_os by @risu729 in [#8744](#8744) ### 🧪 Testing - **(test_tool)** redirect stderr to stdout and strip ansi codes by @risu729 in [#8738](#8738) ### New Contributors - @rtharston made their first contribution in [#8731](#8731)
Installing mise using
cargo install miseas instructed by the documentation currently leads to a build error related to a crate version mismatch, as seen in #8186. The error seems to stem from a dependency, but the correct fix isn't to wait for the dependencies to resolve themselves. The mise build should be using the locked versions. (So this is really a cargo issue since it doesn't use --locked by default apparently...)