From fce36e2ad2921d491ef6cc25729fc0be5dd81799 Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 7 Mar 2022 09:51:07 +0100 Subject: [PATCH] {examples,tests}/rust: Ready for building on stable Rust Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526 --- examples/rust-hello-world/Cargo.toml | 3 ++- tests/rust_minimal/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/rust-hello-world/Cargo.toml b/examples/rust-hello-world/Cargo.toml index da21f165e2..a841f702c2 100644 --- a/examples/rust-hello-world/Cargo.toml +++ b/examples/rust-hello-world/Cargo.toml @@ -9,4 +9,5 @@ resolver = "2" crate-type = ["staticlib"] [dependencies] -riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ] } +# `default-features = false` can be removed with 0.8, and enables building on stable during the 0.7 series +riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ], default-features = false } diff --git a/tests/rust_minimal/Cargo.toml b/tests/rust_minimal/Cargo.toml index e2690fe93a..739e38879b 100644 --- a/tests/rust_minimal/Cargo.toml +++ b/tests/rust_minimal/Cargo.toml @@ -9,4 +9,5 @@ resolver = "2" crate-type = ["staticlib"] [dependencies] -riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ] } +# `default-features = false` can be removed with 0.8, and enables building on stable during the 0.7 series +riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ], default-features = false }