Skip to content

fix: rust lockfile#7780

Merged
jdx merged 1 commit intojdx:mainfrom
vadimpiven:main
Jan 21, 2026
Merged

fix: rust lockfile#7780
jdx merged 1 commit intojdx:mainfrom
vadimpiven:main

Conversation

@vadimpiven
Copy link
Copy Markdown
Contributor

@vadimpiven vadimpiven commented Jan 20, 2026

I tried to set

[settings]
experimental = true
lockfile = true
locked = true

[tools]
rust.version = "nightly-2026-01-15"

and was getting error

❯ mise lock
→ Targeting 6 platform(s): linux-arm64, linux-x64, macos-arm64, macos-x64, windows-arm64, windows-x64
→ Processing 21 tool(s): node@24.13.0, rust@nightly-2026-01-15, jq@1.8.1, yq@4.50.1, github:BurntSushi/ripgrep@15.1.0, github:aquasecurity/trivy@0.68.2, github:google/yamlfmt@0.21.0, github:koalaman/shellcheck@0.11.0, github:zricethezav/gitleaks@8.30.0, github:rhysd/actionlint@1.7.10, github:astral-sh/uv@0.9.26, github:cargo-bins/cargo-binstall@1.16.7, github:nextest-rs/nextest@0.9.122, github:mstange/samply@0.13.1, github:hadolint/hadolint@2.14.0, github:EmbarkStudios/cargo-deny@0.19.0, github:crate-ci/typos@1.42.1, github:taiki-e/cargo-llvm-cov@0.6.23, shfmt@3.11.0, github:biomejs/biome@2.3.11, github:mozilla/sccache@0.12.0
✓ Updated 126 platform entries (0 skipped)
✓ Lockfile written to ~/Documents/Piven.TECH/node_reqwest/mise.lock

❯ mise install
mise ERROR Failed to install core:rust@nightly-2026-01-15: No lockfile URL found for rust@nightly-2026-01-15 on platform macos-arm64 (--locked mode)
hint: Run `mise lock` to generate lockfile URLs, or disable locked mode
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Note

Fixes locked-mode failures for Rust installations managed by rustup.

  • Backend: Adds Backend::supports_lockfile_url() (default true) to indicate if URL-based locking applies
  • Install flow: Locked-mode check now requires a lockfile URL only when supports_lockfile_url() is true and the tool isn’t a stub
  • Rust plugin: Overrides supports_lockfile_url() to false, exempting Rust from URL lockfile requirements

Written by Cursor Bugbot for commit 460291b. This will update automatically on new commits. Configure here.

@jdx
Copy link
Copy Markdown
Owner

jdx commented Jan 21, 2026

bugbot run

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

@jdx jdx merged commit 8521a0f into jdx:main Jan 21, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants