Skip to content

fix(core): sync Rust 1.96 Clippy rename - #10

Merged
Nanako0129 merged 1 commit into
mainfrom
fix-core-clippy-name-sync
Jul 28, 2026
Merged

fix(core): sync Rust 1.96 Clippy rename#10
Nanako0129 merged 1 commit into
mainfrom
fix-core-clippy-name-sync

Conversation

@Nanako0129

Copy link
Copy Markdown
Owner

Summary

  • sync the vendored core to Native commit 1d874cdf1c6db97225d4703a25214be75bc33e7b (TokenBar PR #112)
  • rename the private Grok ParsedUsage accessor from into_token_breakdown(&self) to token_breakdown(&self) and update its sole caller
  • update the vendor patch ledger and Windows-only sync provenance

This is a private-method rename only. Parsing, cache data, the C ABI, runtime output, and Cargo.lock are unchanged.

Verification

  • shared crates/ and vendor/ trees match Native byte-for-byte, excluding Native-only vendor/AGENTS.md and Windows-only SYNC.md; the C header and both provider-v3 fixtures also match
  • cargo clippy -p tokscale-core --all-targets --all-features --locked --offline -- -D warnings
  • focused Grok tests: 49 passed
  • scripts/check.sh: 319 FFI tests, 1,290 vendor unit tests plus integrations, release build, locked .NET restore/build, 287 Core tests, and 11-entry P/Invoke smoke
  • fresh verifier: CONFIRMED

Hosted Windows x64 and ARM64 packaging checks remain CI-owned; this PR does not claim real ARM64 runtime validation.

Sync the vendored core to Native commit 1d874cdf1c6db97225d4703a25214be75bc33e7b, the rebase-merged result of TokenBar PR #112.

Rename the private Grok ParsedUsage accessor from into_token_breakdown(&self) to token_breakdown(&self) and update its sole caller. This satisfies Rust 1.96.1 clippy::wrong_self_convention without changing parsing, cache data, the C ABI, or runtime output.

Update the vendor patch ledger and Windows-only SYNC.md provenance, including exact shared-tree parity and downstream verification evidence. Cargo.lock remains unchanged.

Verified with strict locked/offline tokscale-core Clippy, 49 focused Grok tests, the complete locked Rust workspace and release build, 287 .NET Core tests, and the 11-entry P/Invoke smoke. A fresh verifier independently confirmed byte-identical shared trees and the three-file scope.
@Nanako0129
Nanako0129 merged commit 919b497 into main Jul 28, 2026
3 checks passed
@Nanako0129
Nanako0129 deleted the fix-core-clippy-name-sync branch July 28, 2026 08:31
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