justfile: simplify with new cargo-rbmt features
What changed, and why it matters
This commit only edits the project's justfile, a developer convenience script. It removes explicit Rust toolchain arguments because a newer version of the cargo-rbmt tool now handles toolchains internally. There is no change to the actual Bitcoin library code, no user-facing behavior change, and no security relevance.
No security action needed. Review as a normal build/CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates justfile recipes to rely on cargo-rbmt’s new built-in toolchain selection instead of passing +{{toolchain}} or +{{NIGHTLY_VERSION}}. Affected recipes: ci, ci-stable, ci-lint, ci-docsrs, and update-lock-files. No Rust source, dependencies, or build outputs are modified.
Changed components
justfileInspect captured patch +6 / −6
diff --git a/justfile b/justfile
index 051f7abf..a5f48ed6 100644
--- a/justfile
+++ b/justfile
@@ -14,16 +14,16 @@ _install-tools:
# Run the given CI task using maintainer tools.
[group('ci')]
-@ci task toolchain="stable" lock="recent": _install-tools
- RBMT_LOG_LEVEL=quiet cargo +{{toolchain}} rbmt {{task}} --lock-file {{lock}}
+@ci task lock="recent": _install-tools
+ RBMT_LOG_LEVEL=quiet cargo rbmt {{task}} --lock-file {{lock}}
# Test workspace with stable toolchain.
[group('ci')]
-ci-stable: (ci "test stable")
+ci-stable: (ci "test")
# Lint workspace.
[group('ci')]
-ci-lint: (ci "lint" NIGHTLY_VERSION)
+ci-lint: (ci "lint")
# Generate documentation.
[group('ci')]
@@ -31,7 +31,7 @@ ci-docs: (ci "docs")
# Generate documentation with nightly.
[group('ci')]
-ci-docsrs: (ci "docsrs" NIGHTLY_VERSION)
+ci-docsrs: (ci "docsrs")
# Run benchmarks.
[group('ci')]
@@ -67,7 +67,7 @@ check-api:
# Update the recent and minimal lock files.
[group('scripts')]
@update-lock-files: _install-tools
- cargo +{{NIGHTLY_VERSION}} rbmt lock
+ cargo rbmt lock
# Install githooks.
[group('scripts')]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.