aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhomunkulus <homunkulus@gmx.com>2017-12-09 14:26:38 +0000
committerhomunkulus <homunkulus@gmx.com>2017-12-09 14:26:38 +0000
commit40ebb93cc6ec8533d4532853c3fd01693af09d8e (patch)
tree2a452f6e7d7d02bc9d17494554f04afcab8efd63 /examples
parent0a0e0e2b382d826ac7b423c91f39d2abf91a010f (diff)
parentd6c240f9743067c81e68adcf35c60304573db8b9 (diff)
Auto merge of #56 - japaric:not-send, r=japaric
make resource proxies !Send None
Diffstat (limited to 'examples')
-rw-r--r--examples/full-syntax.rs1
-rw-r--r--examples/generics.rs1
-rw-r--r--examples/late-resources.rs1
-rw-r--r--examples/nested.rs1
-rw-r--r--examples/one-task.rs1
-rw-r--r--examples/preemption.rs1
-rw-r--r--examples/two-tasks.rs1
-rw-r--r--examples/zero-tasks.rs1
8 files changed, 8 insertions, 0 deletions
diff --git a/examples/full-syntax.rs b/examples/full-syntax.rs
index 9b6b394..a8f79a7 100644
--- a/examples/full-syntax.rs
+++ b/examples/full-syntax.rs
@@ -1,5 +1,6 @@
//! A showcase of the `app!` macro syntax
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/generics.rs b/examples/generics.rs
index bc2fe7a..7cf9257 100644
--- a/examples/generics.rs
+++ b/examples/generics.rs
@@ -1,5 +1,6 @@
//! Working with resources in a generic fashion
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/late-resources.rs b/examples/late-resources.rs
index 69a0ce8..d42431c 100644
--- a/examples/late-resources.rs
+++ b/examples/late-resources.rs
@@ -1,6 +1,7 @@
//! Demonstrates initialization of resources in `init`.
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/nested.rs b/examples/nested.rs
index 1c164f8..d2309f3 100644
--- a/examples/nested.rs
+++ b/examples/nested.rs
@@ -3,6 +3,7 @@
//! If you run this program you'll hit the breakpoints as indicated by the
//! letters in the comments: A, then B, then C, etc.
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/one-task.rs b/examples/one-task.rs
index 38f0135..2e77676 100644
--- a/examples/one-task.rs
+++ b/examples/one-task.rs
@@ -1,5 +1,6 @@
//! An application with one task
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/preemption.rs b/examples/preemption.rs
index 5fda37d..98dde8d 100644
--- a/examples/preemption.rs
+++ b/examples/preemption.rs
@@ -1,5 +1,6 @@
//! Two tasks running at *different* priorities with access to the same resource
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/two-tasks.rs b/examples/two-tasks.rs
index 2200e5b..df6e784 100644
--- a/examples/two-tasks.rs
+++ b/examples/two-tasks.rs
@@ -1,5 +1,6 @@
//! Two tasks running at the *same* priority with access to the same resource
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]
diff --git a/examples/zero-tasks.rs b/examples/zero-tasks.rs
index 58e6afc..b1ebab6 100644
--- a/examples/zero-tasks.rs
+++ b/examples/zero-tasks.rs
@@ -1,5 +1,6 @@
//! Minimal example with zero tasks
#![deny(unsafe_code)]
+#![deny(warnings)]
// IMPORTANT always include this feature gate
#![feature(proc_macro)]
#![no_std]