mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
69cb6b12fc
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.
24 lines
779 B
TOML
24 lines
779 B
TOML
[package]
|
|
name = "rust-minimal"
|
|
version = "0.1.0"
|
|
authors = ["Christian Amsüss <chrysn@fsfe.org>"]
|
|
edition = "2018"
|
|
resolver = "2"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
[profile.release]
|
|
# Setting the panic mode has little effect on the built code (as Rust on RIOT
|
|
# supports no unwinding), but setting it allows builds on native without using
|
|
# the nightly-only lang_items feature.
|
|
panic = "abort"
|
|
|
|
[dependencies]
|
|
riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
|
|
|
|
# While currently this test does not use any RIOT modules implemented in Rust,
|
|
# that may change; it is best practice for any RIOT application that has its
|
|
# own top-level Rust crate to include rust_riotmodules from inside RIOTBASE.
|
|
rust_riotmodules = { path = "../../sys/rust_riotmodules/" }
|