Skip to content

chore: bump the Rust toolchain to 1.98.1 and trim AGENTS.md - #428

Merged
owenlamont merged 1 commit into
mainfrom
toolchain-1.98.1
Sep 6, 2026
Merged

chore: bump the Rust toolchain to 1.98.1 and trim AGENTS.md#428
owenlamont merged 1 commit into
mainfrom
toolchain-1.98.1

Conversation

@owenlamont

@owenlamont owenlamont commented Sep 6, 2026

Copy link
Copy Markdown
Owner

What changed

  • rust-toolchain.toml to 1.98.1; the MSRV moves to Cargo.toml's rust-version, so
    clippy.toml's msrv goes.
  • 1.98's clippy::chunks_exact_to_as_chunks fires at three sites; as_chunks::<N>()
    replaces them, dropping the byte-by-byte rebuilds.
  • AGENTS.md loses the three Rust bullets; [lints.rust] unsafe_code = "forbid" replaces
    the deleted no-unsafe prose and reaches the test targets too.

Departures from the issues

  • rust-version is cargo-enforced, not just a Clippy hint: cargo +1.97.1 check now
    hard-fails. Kept at 1.98.1 to match the pin, with the README stating it.
  • #427 asked for the three skills to be
    named here. Dropped: this repo is public, the skills repo is not.

Notes for the reviewer

Nothing in #426's feature delta was worth
adopting: substr_range has no site here, and from_utf16le/be changes error text the
decoder tests assert
— corrected in #432: the tests assert only the invalid utf-16
prefix, which survives; only the detail text changes. The as_chunks rewrite was checked differentially against the
pre-change binary over 99 encoding fixtures, not by reading.

Skills used
Skill Version
pr-review v0.13.0
rust-code-style v0.13.0
docs v0.12.4
software-engineering v0.13.0

Closes #426, closes #427

— Claude

The MSRV moves to `Cargo.toml`'s `rust-version`, which Clippy reads natively, so
`clippy.toml`'s `msrv` key goes. That also makes it a cargo-enforced floor for
`cargo install` and sdist builds, which the README now states. 1.98's new
`chunks_exact_to_as_chunks` fires at three sites; `as_chunks::<N>()` yields arrays,
so the byte-by-byte rebuilds go with it. AGENTS.md loses the three Rust bullets
external skills now own, and `[lints.rust] unsafe_code = "forbid"` replaces the
deleted no-unsafe prose, reaching the test targets the crate-root attributes never
covered.

Closes #426, closes #427

Claude-Session: https://claude.ai/code/session_01L2XE37GUJWcHp7hPKMdHU8
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ryl-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7b3e213
Status: ✅  Deploy successful!
Preview URL: https://0619b870.ryl-docs.pages.dev
Branch Preview URL: https://toolchain-1-98-1.ryl-docs.pages.dev

View logs

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

Test Coverage (nextest + cargo-llvm-cov)

Filename                                Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cli_support.rs                              168                 0   100.00%           7                 0   100.00%          95                 0   100.00%           0                 0         -
conf/mod.rs                                  10                 0   100.00%           1                 0   100.00%           7                 0   100.00%           0                 0         -
config.rs                                  1793                 0   100.00%         176                 0   100.00%        1281                 0   100.00%           0                 0         -
config_schema.rs                            491                 0   100.00%          46                 0   100.00%         389                 0   100.00%           0                 0         -
config_schema/serialization.rs              631                 0   100.00%          36                 0   100.00%         410                 0   100.00%           0                 0         -
config_schema/validation.rs                 171                 0   100.00%          21                 0   100.00%         146                 0   100.00%           0                 0         -
decoder.rs                                  476                 0   100.00%          35                 0   100.00%         321                 0   100.00%           0                 0         -
directives.rs                               284                 0   100.00%          24                 0   100.00%         174                 0   100.00%           0                 0         -
discover.rs                                  63                 0   100.00%           5                 0   100.00%          40                 0   100.00%           0                 0         -
fix.rs                                      602                 0   100.00%          39                 0   100.00%         385                 0   100.00%           0                 0         -
lint.rs                                     310                 0   100.00%          22                 0   100.00%         195                 0   100.00%           0                 0         -
lsp/actions.rs                              244                 0   100.00%          17                 0   100.00%         188                 0   100.00%           0                 0         -
lsp/analysis.rs                             109                 0   100.00%          11                 0   100.00%          83                 0   100.00%           0                 0         -
lsp/encoding.rs                             299                 0   100.00%          21                 0   100.00%         168                 0   100.00%           0                 0         -
lsp/hover.rs                                 39                 0   100.00%           3                 0   100.00%          28                 0   100.00%           0                 0         -
lsp/mod.rs                                 1345                 0   100.00%         104                 0   100.00%        1017                 0   100.00%           0                 0         -
lsp/rename.rs                               158                 0   100.00%          11                 0   100.00%         111                 0   100.00%           0                 0         -
main.rs                                    1451                 0   100.00%          94                 0   100.00%         976                 0   100.00%           0                 0         -
markdown_embed/lint.rs                      109                 0   100.00%           6                 0   100.00%          75                 0   100.00%           0                 0         -
markdown_embed/mod.rs                       185                 0   100.00%          14                 0   100.00%         133                 0   100.00%           0                 0         -
migrate.rs                                  351                 0   100.00%          27                 0   100.00%         255                 0   100.00%           0                 0         -
report.rs                                   350                 0   100.00%          11                 0   100.00%         206                 0   100.00%           0                 0         -
rules/anchors.rs                            184                 0   100.00%          11                 0   100.00%         155                 0   100.00%           0                 0         -
rules/block_scalar_chomping.rs               94                 0   100.00%          11                 0   100.00%          60                 0   100.00%           0                 0         -
rules/colons.rs                             299                 0   100.00%          20                 0   100.00%         228                 0   100.00%           0                 0         -
rules/commas.rs                             350                 0   100.00%          15                 0   100.00%         246                 0   100.00%           0                 0         -
rules/comments.rs                           194                 0   100.00%          12                 0   100.00%         125                 0   100.00%           0                 0         -
rules/comments_indentation.rs               380                 0   100.00%          20                 0   100.00%         230                 0   100.00%           0                 0         -
rules/document_end.rs                       197                 0   100.00%          15                 0   100.00%         133                 0   100.00%           0                 0         -
rules/document_start.rs                     122                 0   100.00%          11                 0   100.00%          82                 0   100.00%           0                 0         -
rules/empty_lines.rs                        196                 0   100.00%          10                 0   100.00%         128                 0   100.00%           0                 0         -
rules/empty_values.rs                       155                 0   100.00%          12                 0   100.00%         139                 0   100.00%           0                 0         -
rules/float_values.rs                       270                 0   100.00%          24                 0   100.00%         170                 0   100.00%           0                 0         -
rules/hyphens.rs                            150                 0   100.00%           8                 0   100.00%         105                 0   100.00%           0                 0         -
rules/indentation.rs                        682                 0   100.00%          45                 0   100.00%         587                 0   100.00%           0                 0         -
rules/key_duplicates.rs                     685                 0   100.00%          47                 0   100.00%         466                 0   100.00%           0                 0         -
rules/key_ordering.rs                       208                 0   100.00%          23                 0   100.00%         142                 0   100.00%           0                 0         -
rules/line_length.rs                        193                 0   100.00%          15                 0   100.00%         132                 0   100.00%           0                 0         -
rules/merge_keys.rs                          49                 0   100.00%           2                 0   100.00%          32                 0   100.00%           0                 0         -
rules/new_line_at_end_of_file.rs             29                 0   100.00%           3                 0   100.00%          19                 0   100.00%           0                 0         -
rules/new_lines.rs                           92                 0   100.00%           7                 0   100.00%          61                 0   100.00%           0                 0         -
rules/octal_values.rs                       104                 0   100.00%          11                 0   100.00%          70                 0   100.00%           0                 0         -
rules/quoted_strings.rs                    1229                 0   100.00%          95                 0   100.00%         879                 0   100.00%           0                 0         -
rules/support/comments_scan.rs               21                 0   100.00%           2                 0   100.00%          16                 0   100.00%           0                 0         -
rules/support/flow_collection.rs            613                 0   100.00%          36                 0   100.00%         501                 0   100.00%           0                 0         -
rules/support/line_syntax.rs                254                 0   100.00%          21                 0   100.00%         181                 0   100.00%           0                 0         -
rules/support/mapping_key_walker.rs          89                 0   100.00%          15                 0   100.00%          87                 0   100.00%           0                 0         -
rules/support/merge_key.rs                   13                 0   100.00%           2                 0   100.00%          12                 0   100.00%           0                 0         -
rules/support/punctuation.rs                158                 0   100.00%          16                 0   100.00%         107                 0   100.00%           0                 0         -
rules/support/span_utils.rs                  74                 0   100.00%          11                 0   100.00%          62                 0   100.00%           0                 0         -
rules/support/yaml_version.rs                67                 0   100.00%          10                 0   100.00%          45                 0   100.00%           0                 0         -
rules/tags.rs                               119                 0   100.00%           9                 0   100.00%          90                 0   100.00%           0                 0         -
rules/trailing_spaces.rs                     73                 0   100.00%           3                 0   100.00%          35                 0   100.00%           0                 0         -
rules/truthy.rs                             241                 0   100.00%          16                 0   100.00%         186                 0   100.00%           0                 0         -
rules/unicode_line_breaks.rs                 29                 0   100.00%           5                 0   100.00%          23                 0   100.00%           0                 0         -
yaml_dom/loader.rs                          186                 0   100.00%           6                 0   100.00%         121                 0   100.00%           0                 0         -
yaml_dom/scalar.rs                          142                 0   100.00%          11                 0   100.00%          71                 0   100.00%           0                 0         -
yaml_dom/tag.rs                              23                 0   100.00%           3                 0   100.00%          15                 0   100.00%           0                 0         -
yaml_dom/yaml_owned.rs                       69                 0   100.00%          14                 0   100.00%          53                 0   100.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                     17672                 0   100.00%        1328                 0   100.00%       12477                 0   100.00%           0                 0         -

Missed Lines (per file)

@owenlamont
owenlamont merged commit ba05d43 into main Sep 6, 2026
3 checks passed
@owenlamont
owenlamont deleted the toolchain-1.98.1 branch September 6, 2026 15:11
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.

Trim AGENTS.md: the Rust standards it duplicates now live in skills Update the Rust toolchain to 1.98.1

1 participant