aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/token-transfer.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-07-23 20:51:58 -0500
committerJorge Aparicio <jorge@japaric.io>2017-07-23 20:51:58 -0500
commit6ea9cda6635e7536523f3c6d3d217f7d474ae4a2 (patch)
treec5617f6b60531891231ba2b5b029f957562a085f /tests/cfail/token-transfer.rs
parent05feb7b018817f88123900c9196e830d51608a5f (diff)
update cfail tests
Diffstat (limited to 'tests/cfail/token-transfer.rs')
-rw-r--r--tests/cfail/token-transfer.rs5
1 files changed, 3 insertions, 2 deletions
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<Threshold> = None;
+ static TOKEN: Option<Threshold> = None;
},
tasks: {