diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/full-syntax.rs | 1 | ||||
-rw-r--r-- | examples/generics.rs | 1 | ||||
-rw-r--r-- | examples/late-resources.rs | 1 | ||||
-rw-r--r-- | examples/nested.rs | 1 | ||||
-rw-r--r-- | examples/one-task.rs | 1 | ||||
-rw-r--r-- | examples/preemption.rs | 1 | ||||
-rw-r--r-- | examples/two-tasks.rs | 1 | ||||
-rw-r--r-- | examples/zero-tasks.rs | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/examples/full-syntax.rs b/examples/full-syntax.rs index 9b6b394e..a8f79a72 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 bc2fe7a8..7cf9257b 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 69a0ce8a..d42431c2 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 1c164f86..d2309f3d 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 38f01354..2e776768 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 5fda37d5..98dde8d1 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 2200e5ba..df6e784a 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 58e6afc7..b1ebab6f 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] |