Skip to content

Unblock CI for clippy 1.100 and RUSTSEC-2026-0486 - #133

Merged
inxbit merged 1 commit into
mainfrom
fix/ci-clippy-1.100-rustix-advisory
Nov 17, 2026
Merged

inxbit merged 1 commit into
mainfrom
fix/ci-clippy-1.100-rustix-advisory

Conversation

@inxbit

@inxbit inxbit commented Nov 17, 2026

Copy link
Copy Markdown
Owner

CI on #132 failed for two reasons unrelated to that diff; both now fail on main too.

  • Clippy 1.100 adds a needless_bool check (if guard returning a bool literal, followed by another). Collapsed looks_like_prompt_echo_prefix tail in src/highlight.rs to !matches!(...). No behavior change.
  • RUSTSEC-2026-0486 (rustix 1.1.4, unsound xattr zero-length buffer) trips cargo audit --deny warnings. Bumped to rustix 1.1.6 in Cargo.lock. rustix arrives only through tempfile (dev-dependency); the shipped binary does not link it, so no release needed.

Local (rustc 1.100.0): cargo fmt --check, cargo clippy --locked --all-targets --all-features -- -D warnings, cargo audit --deny warnings, cargo test --locked all pass.

Clippy 1.100 adds a needless_bool check for an if guard followed by a
bool literal; collapse looks_like_prompt_echo_prefix's tail to a
negated matches!.

Bump rustix 1.1.4 -> 1.1.6 (dev-only, via tempfile) to clear the
unsound xattr advisory that cargo audit --deny warnings now rejects.
@inxbit
inxbit merged commit 6d45aeb into main Nov 17, 2026
4 checks passed
@inxbit
inxbit deleted the fix/ci-clippy-1.100-rustix-advisory branch November 17, 2026 05:22
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.

1 participant