Repository navigation
test(rust): update C differential fixtures for by-value members - #16
Merged
sleevetosleeve merged 1 commit intoNov 26, 2026
Merged
Conversation
Commit a7346cc emits mandatory non-recursive reference members by value instead of as pointers, but the hand-written C fixtures under tests/tests-rust-compiler were never adapted (its validation skipped the Rust tests for lack of a toolchain), so the first CI run with Cargo failed to compile them. Update the seven affected fixtures from pointer (&x, ->, !member) to by-value (.x, member.field) usage. OPTIONAL members remain pointers and keep the original form. Fixes the check-rust-backend.sh and check-rust-bitsets.sh failures in runs 45842158366 and 45842158283. Co-authored-by: sleevetosleeve <sleevetosleeve@users.noreply.github.com>
sleevetosleeve
marked this pull request as ready for review
November 26, 2026 18:26
sleevetosleeve
deleted the
vibe/fix-rust-c-fixture-by-value-members-5999f1
branch
November 26, 2026 18:27
3 of 4 tasks
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
Inner_t child;) instead of pointers (struct Inner *child;).tests-c-compilerfixtures were adapted at the time, but the hand-written C differential fixtures undertests/tests-rust-compilerwere missed — that commit's validation skipped the Rust tests for lack of a local toolchain, so the first CI run with Cargo (runs 45842158366 / 45842158283) failed to compile them.&inner,->child,!decoded->child) to by-value form (inner,decoded->child.number). OPTIONAL members remain pointers and keep their original form. No compiler or skeleton changes; wire format is unchanged.Affected fixtures:
c_named_sequence_record.cc_named_sequence_empty.cc_named_set_child.cc_boolean_storage.cimported_record_composition.cimported_record_owned_defaults.cimported_record_legacy.cRelated issues
check-rust-backend.shandcheck-rust-bitsets.shfailures from CI runs 45842158366 and 45842158283.Type of change
Testing
check-rust-backend.sh— full pass (end-to-end, including all C differential fixtures, strict Clippy, and ASan/UBSan-sanitized builds)check-rust-bitsets.sh— passcheck-rust-aliases.sh— passcheck-rust-constraint-ranges.sh— passcheck-rust-strict-mode.sh— passChecklist
vlm_master