fix(core): sync Rust 1.96 Clippy rename - #10
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1d874cdf1c6db97225d4703a25214be75bc33e7b(TokenBar PR #112)ParsedUsageaccessor frominto_token_breakdown(&self)totoken_breakdown(&self)and update its sole callerThis is a private-method rename only. Parsing, cache data, the C ABI, runtime output, and
Cargo.lockare unchanged.Verification
crates/andvendor/trees match Native byte-for-byte, excluding Native-onlyvendor/AGENTS.mdand Windows-onlySYNC.md; the C header and both provider-v3 fixtures also matchcargo clippy -p tokscale-core --all-targets --all-features --locked --offline -- -D warningsscripts/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 smokeCONFIRMEDHosted Windows x64 and ARM64 packaging checks remain CI-owned; this PR does not claim real ARM64 runtime validation.