Skip to content

Conversation

@maribu
Copy link
Member

@maribu maribu commented Nov 11, 2025

Backport of #21867

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

(cherry picked from commit 45aba94)
@maribu maribu added the Area: examples Area: Example Applications label Nov 11, 2025
@maribu maribu requested a review from chrysn as a code owner November 11, 2025 12:05
@maribu maribu added 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: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Nov 11, 2025
@riot-ci
Copy link

riot-ci commented Nov 11, 2025

Murdock results

✔️ PASSED

a2e4b9b rust: Update riot-sys selectively to fix C2Rust incompatibility

Success Failures Total Runtime
10553 0 10557 12m:15s

Artifacts

@crasbe crasbe added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@crasbe crasbe added this pull request to the merge queue Nov 11, 2025
Merged via the queue into RIOT-OS:2025.10-branch with commit 5bedbbc Nov 12, 2025
33 checks passed
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: release backport Integration Process: The PR is a release backport of a change previously provided to master 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