From 6ea9cda6635e7536523f3c6d3d217f7d474ae4a2 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 23 Jul 2017 20:51:58 -0500 Subject: update cfail tests --- tests/cfail/token-transfer.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/cfail/token-transfer.rs') diff --git a/tests/cfail/token-transfer.rs b/tests/cfail/token-transfer.rs index 91e74bd..7bf4233 100644 --- a/tests/cfail/token-transfer.rs +++ b/tests/cfail/token-transfer.rs @@ -1,6 +1,7 @@ #![deny(warnings)] #![feature(const_fn)] #![feature(proc_macro)] +#![no_std] #[macro_use(task)] extern crate cortex_m_rtfm as rtfm; @@ -8,11 +9,11 @@ extern crate stm32f103xx; use rtfm::{app, Threshold}; -app! { //~ error bound `rtfm::Threshold: std::marker::Send` is not satisfied +app! { //~ error bound `rtfm::Threshold: core::marker::Send` is not satisfied device: stm32f103xx, resources: { - TOKEN: Option = None; + static TOKEN: Option = None; }, tasks: { -- cgit v1.2.3