-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust: test on stable #17805
rust: test on stable #17805
Conversation
Of the many build failures stemming from riotbuild and riotci-worker not being updated yet, comsys found one that is actually bad:
Will investigate (I know that issue but it should have been worked around already) ... |
2dc939a
to
f524429
Compare
Rebased onto #17806 which fixes the RISC-V issue. |
f524429
to
361850f
Compare
361850f
to
c9c9e8f
Compare
c9c9e8f
to
82a91d7
Compare
This has now been updated as planned to go to "stable" right away, which is being released. CI can be enabled once the corresponding CI PR has migrated to the workers. |
Since [17805] (part of the 2022.04 release), RIOT's test case for Rust is built on stable on all platforms. [17805]: RIOT-OS/RIOT#17805
I just saw that the CI run only took 2 minutes, briefly panicked, that realized that this is one of the cases where Congratz for the mayor step towards rust on RIOT :) 🎉 |
Thanks! Yeah, the 2 minutes are real -- it'll get worse again once Rust based modules are in. At least until changes to modules only run the build tests where these modules are in, then ideally a change to "everything Rust" would cause murdock to run all Rust examples, plus all builds that enable such a module (which would be all SAUL-using examples on microbit-v2, currently). |
Since [17805] (part of the 2022.04 release), RIOT's test case for Rust is built on stable on all platforms. [17805]: RIOT-OS/RIOT#17805
Contribution description
This
updates Rust dependencies (pulling in a few changes that enable building on all platforms on beta)already done in {examples,tests}/rust: Rust updates #1780621 out of 3 tests/examples to actually run on beta (while the gcoap test stays on nightly, conveniently ensuring that we still have coverage on both, even though it is rather unlikely that things that work on beta (well, at least on stable) break on nightly)Testing procedure
(If it complains about beta not being installed, workers may need a boot)
Issues/PRs references
One more piece of progress for #17526 (now we're testing it as well).
Edit / update
In the interest of not making lives of new users more complicated than necessary, both examples are now still on nightly even though hello world would work on stable -- but in my experience a hello world example is commonly used as a stepping stone / scaffolding, and right now people would need to switch to nightly as soon as they add, eg. SAUL, or enable the shell. (As things are now, GATs are probably stabilized in 1.62, ie. in time for 2022.07, and everything that's wrapped is stable, including CoAP wrappers).