Skip to content

chore(dev): the nsl machine's Rust toolchain has rustfmt and clippy - #124

Merged
bketelsen merged 1 commit into
mainfrom
irulan/nsl-rustfmt-clippy
Nov 1, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/nsl-rustfmt-clippy

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

dev/nsl/provision.sh installs Rust with the minimal profile, which has no rustfmt and no clippy. frostread shares this machine for its desktop shell (frostread plan 0002, step 3.0), and its make app-check runs cargo fmt --check and cargo clippy --all-targets -- -D warnings (frostyard/frostread#35).

  • After the toolchain install, rustup component add --toolchain "$RUST_TOOLCHAIN" rustfmt clippy, as the build user. It is idempotent, so a re-run of the script adds them to a machine provisioned before.
  • The header names them.

The running frostnotes machine already has both (rustup component add rustfmt clippy, 2026-11-01, Brian's answer to T654a); this keeps a new machine the same.

Checks: bash -n, shellcheck 0.11.0 clean, make check passes (with umask 022: under umask 077, internal/secrets' TestFileRefusesReadableFile fails on main as well, since its 0644 file is written 0600).

The minimal profile leaves them out. frostread's make app-check runs cargo fmt --check and cargo clippy in this machine (frostread plan 0002, step 3.2). component add is idempotent, so a re-run adds them to a machine provisioned before.
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: openai/gpt-6.1-sol at 8502648 (base 0c4d59a), coder claude-opus-5.5: Ready, Blocking: none, 0 findings. CI green.

@bketelsen
bketelsen merged commit a9982d2 into main Nov 1, 2026
9 checks passed
@bketelsen
bketelsen deleted the irulan/nsl-rustfmt-clippy branch November 1, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants