Release 0.3.2 - #2
Merged
Merged
Conversation
- ObjectInfo::has_method_table() gates method iteration on a non-zero method count, and diagnostics() flags an uninitialized methods_va. - code_entries() / code_entrypoints() drop unreadable slots and objects instead of aborting the walk. - Replace em-dashes with plain hyphens across docs, comments, and diagnostic message strings. - Use as_chunks::<2>() for UTF-16LE decoding (clippy 1.98 chunks_exact_to_as_chunks). - Refresh transitive dependencies.
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
Patch release 0.3.2.
Fixed
ObjectInfo::has_method_table()(new) gates method iteration on a non-zero method count.VbObject::has_method_table()delegates to it, so a descriptor-supplied count is no longer iterated over an uninitializedmethods_va.VbProject::diagnostics()reports anInfoquirk at sitemethod_tablewhenmethods_vais set but the method count is zero.VbObject::code_entries()andVbProject::code_entrypoints()are fail-soft per slot: an unreadable method slot,proc_size, or object is dropped (traced under thetracingfeature) instead of aborting the walk.Changed
ParseDiagnosticmessage strings (exact-message matchers will see the new punctuation).BStr::to_string_lossy()andFuncTypDescstring defaults useas_chunks::<2>()instead ofchunks_exact(2). Clippy 1.98 addedchunks_exact_to_as_chunks, which already failed CI's stable clippy job onmain.as_chunksis stable since 1.88, matching the MSRV.Verification
Run on a copy outside the local
[patch]config so the lockfile matches CI resolution:cargo fmt --checkcargo clippy --locked --all-targets --all-features -- -D warnings(stable 1.98 and 1.88)cargo test --lockedand--all-features(stable): 269 passedcargo +1.88 test --locked: 269 passedRUSTDOCFLAGS="-D warnings" cargo doc --locked --no-depscargo package --locked(verify build)