Skip to content

examples/rust: Update CoAP example modules#20821

Merged
maribu merged 1 commit intoRIOT-OS:masterfrom
chrysn-pull-requests:update-examples-preparing-riot-wrappers-0-9
Aug 19, 2024
Merged

examples/rust: Update CoAP example modules#20821
maribu merged 1 commit intoRIOT-OS:masterfrom
chrysn-pull-requests:update-examples-preparing-riot-wrappers-0-9

Conversation

@chrysn
Copy link
Copy Markdown
Member

@chrysn chrysn commented Aug 19, 2024

Contribution description

This updates the use of two deprecated items to the latest idioms in riot-wrappers 0.8.

Testing procedure

Green CI should suffice.

Issues/PRs references

This unblocks testing of RIOT-OS/rust-riot-wrappers#90: riot-wrappers 0.9 is developed and tested as 0.8.999, because its claim is that if all deprecation warnings of latest 0.8 are resolved, and you don't do something weird1, all can still run.

Footnotes

  1. Such as assigning the error from a known can-not-err result to a ! type rather than to Infallible – that is a breaking API change, but practical breakage is not expected, and at worst fixed by implementing some conversion to do the same when going from ! as for Infallible.

This updates the use of two deprecated items.
@chrysn chrysn requested a review from maribu August 19, 2024 09:59
@github-actions github-actions bot added the Area: examples Area: Example Applications label Aug 19, 2024
@maribu maribu enabled auto-merge August 19, 2024 11:49
@maribu maribu added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Aug 19, 2024
@chrysn chrysn added the Area: Rust Area: Rust wrapper label Aug 19, 2024
@riot-ci
Copy link
Copy Markdown

riot-ci commented Aug 19, 2024

Murdock results

✔️ PASSED

ccd93b4 examples/rust: Update CoAP example modules

Success Failures Total Runtime
14 0 14 02m:04s

Artifacts

@maribu maribu added this pull request to the merge queue Aug 19, 2024
Merged via the queue into RIOT-OS:master with commit 6a9154c Aug 19, 2024
@chrysn chrysn deleted the update-examples-preparing-riot-wrappers-0-9 branch August 19, 2024 12:18
@benpicco benpicco added this to the Release 2024.10 milestone Nov 27, 2024
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 CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants