Skip to content

Conversation

@chrysn
Copy link
Member

@chrysn chrysn commented Nov 11, 2025

Contribution description

This updates the package just so far that the changes from 60 (fixing compatibility with C2Rust 0.21) are in, but not 61 (which caused yet to be understood trouble on native32 builds).

In this, it is a subset of #21840, which will need to be re-run onto this later.

This PR is prioritized over 21840 because the fixes should be backportable to the upcoming release.

Testing procedure

I'm tied up in other projects, and did not test this. In particular, I think that this will need a runtime testing on native32 (probably running all the examples once, and in gcoap running some CoAP request) because I have a hunch that the troubles in #21840 that require disabling native32 might not be bugs, but actually new checks that detect alignment or size issues. Testing should at least show if that is an acute problem.

Issues/PRs references

Breaks: #21840

This updates the package just so far that the changes from [60] (fixing
compatibility with C2Rust 0.21) are in, but not [61] (which caused yet
to be understood trouble on native32 builds).

[60]: RIOT-OS/rust-riot-sys#60
[61]: RIOT-OS/rust-riot-sys#61
@chrysn chrysn requested a review from maribu November 11, 2025 08:43
@chrysn chrysn added the Area: Rust Area: Rust wrapper label Nov 11, 2025
@chrysn chrysn added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 11, 2025
@github-actions github-actions bot added Area: tests Area: tests and testing framework Area: sys Area: System Area: examples Area: Example Applications labels Nov 11, 2025
@maribu maribu enabled auto-merge November 11, 2025 08:45
@maribu
Copy link
Member

maribu commented Nov 11, 2025

At least locally I can now build for native32 with BUILD_IN_DOCKER=1 and the c2rust v0.21.0 issue is fixed.

Thanks!

@riot-ci
Copy link

riot-ci commented Nov 11, 2025

Murdock results

✔️ PASSED

45aba94 rust: Update riot-sys selectively to fix C2Rust incompatibility

Success Failures Total Runtime
10931 0 10931 12m:00s

Artifacts

@maribu maribu added this pull request to the merge queue Nov 11, 2025
@maribu maribu added the Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch label Nov 11, 2025
@crasbe crasbe added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Nov 11, 2025
Merged via the queue into RIOT-OS:master with commit 720c086 Nov 11, 2025
30 checks passed
@maribu
Copy link
Member

maribu commented Nov 11, 2025

Thx a lot! ❤️

@maribu
Copy link
Member

maribu commented Nov 11, 2025

Backport provided in #21870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: examples Area: Example Applications Area: Rust Area: Rust wrapper Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants