1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
Marian Buschsieweke
2be92b5e55
rust: bump rust-riot-wrappers 2024-11-22 11:14:34 +01:00
Marian Buschsieweke
7d1313b3bf
treewide: update rust-riot-wrappers 2024-10-24 09:57:36 +02:00
chrysn
bb3520fff0 treewide: Update Rust dependencies 2024-10-17 16:20:26 +02:00
chrysn
69a89b80ca treewide/rust: cargo fmt 2024-10-02 22:17:08 +02:00
chrysn
b802a19059 rust: Remove ek-lm4f120x board from blacklist 2024-08-23 13:48:44 +02:00
chrysn
ea40036529 rust: Update all locked versions
This pulls in several updates for which there is no urgent need, but
also no good reason *not* to do them (especially as they may contain bug
fixes, even critical ones).
2024-08-22 17:49:39 +02:00
chrysn
2ef929369f rust: Update locked riot-wrappers and riot-example-modules versions 2024-08-22 17:49:25 +02:00
chrysn
c0288f7d40 rust: Update to riot-wrappers 0.9 2024-08-22 17:33:40 +02:00
Mikolai Gütschow
b07eddd66a
rust: bump rust-riot-{sys,wrappers} version
both only bump the version number with no functional changes
2024-07-15 14:14:41 +02:00
Marian Buschsieweke
835eaee630
*/Cargo.lock: bump rust-riot-wrappers 2024-05-31 18:26:48 +02:00
chrysn
b8ddac765c rust: Selectively update riot-wrappers dependency
This pulls in [88], and thus fixes building of Rust modules when the
wS281x module is enabled.

[88]: https://github.com/RIOT-OS/rust-riot-wrappers/pull/88
2024-04-15 16:28:05 +02:00
chrysn
628a8b4cd2 rust: Update riot-wrappers
This pulls in [87].

[87]: https://github.com/RIOT-OS/rust-riot-wrappers/pull/87
2024-04-03 23:16:31 +02:00
chrysn
a0ee4def10 rust: Selectively update riot-wrappers
Changes pulled by this are:
* optimizations around panicking <https://github.com/RIOT-OS/rust-riot-wrappers/pull/82>
* administrative changes (CI fixes)
2024-03-20 16:00:08 +10:00
chrysn
7e8031fd80 rust: Update non-RIOT dependencies
All changes appear to be minor; some crates that were previously part of
the build dependencies twice can now be shared between build
dependencies.
2024-03-20 16:00:02 +10:00
chrysn
e8c28ef536 rust: Selectively update riot-sys
Changes pulled by this are:
* add hashes to riot-sys headers <https://github.com/RIOT-OS/rust-riot-sys/pull/43>
* administrative changes (riot-sys 0.7.11, CI fixes)
2024-03-20 15:59:57 +10:00
chrysn
198bd67bc3 rust: Selectively update riot-sys and -wrappers
This pulls in <https://github.com/RIOT-OS/rust-riot-sys/pull/40> and
<https://github.com/RIOT-OS/rust-riot-wrappers/pull/80>.
2024-02-23 11:23:04 +01:00
Wilhelm Jochim
9b2b4064eb
exmple > example in Cargo.toml comment
This is a simple spelling error in a comment in the Cargo.tom
2024-02-17 13:08:16 +01:00
chrysn
16153d73cc rust: Selectively update riot-wrappers and -sys
This pulls in embedded-nal 0.7 implementations, and (on both crates)
alterations that decouple riot-wrappers from riot-sys and simplify build
system integration, and do away with the need for passing
RIOT_USEMODULE.
2024-02-01 13:53:42 +01:00
chrysn
6724884b93 makefiles/rust: Remove CARGO_CHANNEL special casing
Back when specific control of the Rust version used with RIOT was
needed, CARGO_CHANNEL was added to explicitly set the Rust version with
consideration for CI special cases.

Rust's mechansims of selecting a toolchain can be used instead now.
2024-01-31 12:25:09 +01:00
chrysn
002cd42e26 treewide: cargo update 2024-01-27 09:41:26 +01:00
chrysn
6724e851ca Rust: Update riot-wrappers
This fixes a regression by merging https://github.com/RIOT-OS/rust-riot-wrappers/pull/55
(the "G" unit has been deprecated, but that deprecation was done wrong
in https://github.com/RIOT-OS/rust-riot-wrappers/pull/50).
2023-04-25 09:20:58 +02:00
chrysn
5f91bd8812 Rust: Update non-RIOT dependencies 2023-04-24 11:38:59 +02:00
chrysn
de410314a3 Rust: Update riot-sys and riot-wrappers
This pulls in several fixes from these repositories:

* riot-sys:
    * Add `random` module to `riot-headers` (https://github.com/RIOT-OS/rust-riot-sys/pull/26)
    * README: fix 2 typos (https://github.com/RIOT-OS/rust-riot-sys/pull/31)
    * bindgen: Use 0.64 (https://github.com/RIOT-OS/rust-riot-sys/pull/30)
    * wolfSSL support added (https://github.com/RIOT-OS/rust-riot-sys/pull/28)
    * extern-types: Generate replacement types dynamically (https://github.com/RIOT-OS/rust-riot-sys/pull/27)
    * Extern types: Add netq_t, make them large (https://github.com/RIOT-OS/rust-riot-sys/pull/25)
    * doc: Suppress warnings about things C2Rust does not uphold (https://github.com/RIOT-OS/rust-riot-sys/pull/23)
    * export macro_DAC_LINE (https://github.com/RIOT-OS/rust-riot-sys/pull/22)
    * Add BINDGEN_OUTPUT_FILE export (https://github.com/RIOT-OS/rust-riot-sys/pull/21)
* riot-wrappers:
    * DAC: Add wrapper around RIOTs DAC-interface (https://github.com/RIOT-OS/rust-riot-wrappers/pull/36)
    * saul: Compatibly rename G* variants (https://github.com/RIOT-OS/rust-riot-wrappers/pull/50)
    * tests: Add test for auto-init when auto-init debug is active (https://github.com/RIOT-OS/rust-riot-wrappers/pull/48)
    * gcoap: Provide link encoder (https://github.com/RIOT-OS/rust-riot-wrappers/pull/47)
    * Drop SUIT support in riot-wrappers (https://github.com/RIOT-OS/rust-riot-wrappers/pull/44)
    * Add an auto init module (https://github.com/RIOT-OS/rust-riot-wrappers/pull/45)
    * gcoap: Allow registration without scope for 'static listeners (https://github.com/RIOT-OS/rust-riot-wrappers/pull/43)

Through direct dependency changes (the bindgen update), the number of
transitive dependencies could be reduced.
2023-04-24 11:29:52 +02:00
chrysn
bcea914338 rust: Update riot-sys and riot-wrappers
* riot-wrappers:
  * Fix infinite loop when using a Mutex
  * Make ValueInThread Copy/Clone
* riot-sys:
  * Export xxx_DEV (eg. I2C_DEV) C macros as functions
  * Add auto_init_utils.h
2023-02-20 09:06:33 +01:00
chrysn
3779abca36 rust: Update riot-wrappers 2023-01-25 02:07:49 +01:00
chrysn
5981079782 rust: Update dependencies, use riot-wrappers from git
This primarily updates riot-wrappers, which has accumulated several
compatible changes.
2023-01-24 20:12:58 +01:00
chrysn
05b4749ae7 rust: Run all examples on stable
This is possible starting with Rust 1.65.
2022-11-24 11:07:45 +01:00
chrysn
69cb6b12fc rust: Update dependencies
The change in 399e25cc was did not have the intended effect: As the
local crates still all defined 0.7 as the riot-wrappers version, that
dependency was actually down- rather than upgraded, and thus did not
effect the stabilizations.
2022-10-04 00:28:46 +02:00
chrysn
8a61ed1caa rust: Set panic=abort on path towards building on stable 2022-10-01 21:31:24 +02:00
chrysn
399e25cce3 rust: Update dependencies
This pulls in versions of previously nightly-only crates that can be
built on 1.65 beta.

The Cargo overrides that direct the resolver to the git repositories are
disabled while the version used in tree also happens to be a released
version of the crates, as it should be the case as per [251].

[251]: https://github.com/RIOT-OS/Release-Specs/issues/251
2022-10-01 21:29:20 +02:00
chrysn
168ec76a17 rust: Update dependencies
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619.

CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
chrysn
863a1c2ac1 rust: Update cstr dependency
A change in Rust nightly features broke version 0.2.5 of the `cstr`
crate, whose nightly-only features are enabled in some examples. The
breakage was quickly fixed upstream in the 0.2.6 version, this updates
the locks.
2022-08-01 16:36:43 +02:00
chrysn
86dc086379 rust: Bring lock files in sync with toml files
The riotmodules dependency was missed in bc8ec6d5, and while generally
it does not severly harm builds, it does harm builds riotdocker CI where
branches are switched, which is blocked by dirty files in the checkout.

The riot-wrappers version was missed when what is now 5e75f4bd was
rebased onto fdc4e11a.
2022-08-01 16:28:12 +02:00
chrysn
bc8ec6d542 rust: Make examples / tests use any Rust RIOT modules 2022-07-10 21:27:13 +02:00
chrysn
5cde02177c rust: Explicitly select nightly
Examples have previously relied on the (really: some) nightly toolchain
to be the default. As that, in practice, is a problematic assumption,
the latest toolchain to use is now determined programmatically, and that
is set explicitly on the examples that use nightly.

Workaround-For: https://github.com/rust-lang/rustup/issues/3015
2022-06-22 12:07:45 +02:00
chrysn
92d34741b0 rust: Update versions 2022-06-08 17:59:44 +02:00
chrysn
f89324ad4a {examples,tests}/rust: Rust updates
This is not so much an update (riot-wrappers stays at the same commit,
riot-sys just advances by one that re-enables an optional dependency,
but of course third party crates are updated) but more reflects the
switch from using released crates to git versions.
2022-05-31 17:44:41 +02:00
chrysn
ec498cd51c {examples,tests}/rust: Rust updates
Updating to riot-sys 0.7.7 enables support for more recent C2Rust
versions, and to riot-wrappers 0.7.22 unblocks [17990].

[17990]: https://github.com/RIOT-OS/RIOT/pull/17990
2022-05-03 09:23:24 +02:00
chrysn
c688fade36 {examples,tests}/rust: Rust updates
These updates enable tests on beta (stable for the 2022.04 release) on
all platforms, and open the way for [17804].

[17804]: https://github.com/RIOT-OS/RIOT/pull/17804
2022-03-14 16:34:43 +01:00
chrysn
fce36e2ad2 {examples,tests}/rust: Ready for building on stable Rust
Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-03-08 12:44:49 +01:00
chrysn
48a4075dfc {examples,tests}/rust: Follow riot-wrappers deprecations 2022-03-08 12:44:49 +01:00
chrysn
ddc2bf8853 {examples,tests}/rust: cargo update 2022-03-08 12:44:44 +01:00
chrysn
433d7ba2a5 {examples,tests}/rust: cargo update
This restores compatibility with current nightlies by using the latest
coap-message version (after a nightly-only feature that uses saw a late
change), and also removes obstacles for use with stable Rust 1.59 (in
unrelated parts; the CoAP example is still nightly-only).

Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-02-25 12:57:55 +01:00
chrysn
deffb350a7 rust: Update to riot-wrappers 0.7.15 2022-01-13 18:52:05 +01:00
chrysn
70726d46ab {examples,tests}/rust*: Blacklist ek-lm4f120xl board
Something in C2Rust mistranspiles around LED_PORT; disabling the board
for all Rust examples/tests.
2022-01-07 14:26:30 +01:00
chrysn
50f8ed3f72 {examples,tests}/rust*: Update Cargo.toml
This pulls in adjustments to the C-nonbreaking but Rust-breaking API
change in https://github.com/RIOT-OS/RIOT/pull/17359

cstr_core is forcibly kept at 0.2.4 because 0.2.5 needs a newer nightly
than riotdocker currently has.
2022-01-07 14:19:36 +01:00
chrysn
49403c7781 examples: Add Rust example 2021-12-16 13:29:30 +01:00