diff options
author | 2020-10-15 16:01:07 +0000 | |
---|---|---|
committer | 2020-10-15 16:01:07 +0000 | |
commit | 1cda9eaeccbfd9b008bfa40b54b127a2bfa5324e (patch) | |
tree | a17b4ec23f91483649f928021303ebf234727326 /ui/single/local-err.stderr | |
parent | ee0885063d5b1cc4eddd3918ff425796f6213464 (diff) | |
parent | 37ee3a47afbbbf57751243d6d32aaac78073780c (diff) | |
download | rtic-1cda9eaeccbfd9b008bfa40b54b127a2bfa5324e.tar.gz rtic-1cda9eaeccbfd9b008bfa40b54b127a2bfa5324e.tar.zst rtic-1cda9eaeccbfd9b008bfa40b54b127a2bfa5324e.zip |
Merge #371
371: task_local and lock_free r=korken89 a=AfoHT
Getting this going to test with GHA
For further discussion see https://github.com/rtic-rs/rfcs/issues/30
Co-authored-by: Per <Per Lindgren>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'ui/single/local-err.stderr')
-rw-r--r-- | ui/single/local-err.stderr | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ui/single/local-err.stderr b/ui/single/local-err.stderr new file mode 100644 index 00000000..88369d8e --- /dev/null +++ b/ui/single/local-err.stderr @@ -0,0 +1,60 @@ +error: task local resource "l2" is used by multiple tasks + --> $DIR/local-err.rs:34:9 + | +34 | l2: u32, + | ^^ + +error: task local resource "l2" is used by task "idle" with priority 0 + --> $DIR/local-err.rs:52:28 + | +52 | #[idle(resources =[l1, l2, e2])] + | ^^ + +error: task local resource "l2" is used by task "uart0" with priority 1 + --> $DIR/local-err.rs:63:62 + | +63 | #[task(priority = 1, binds = UART0, resources = [shared, l2, e1])] + | ^^ + +error: task local resource "l2" is used by task "uart1" with priority 2 + --> $DIR/local-err.rs:74:62 + | +74 | #[task(priority = 2, binds = UART1, resources = [shared, l2, e1])] + | ^^ + +error: Lock free resource "e1" is used by tasks at different priorities + --> $DIR/local-err.rs:30:9 + | +30 | e1: u32, + | ^^ + +error: Resource "e1" is declared lock free but used by tasks at different priorities + --> $DIR/local-err.rs:63:66 + | +63 | #[task(priority = 1, binds = UART0, resources = [shared, l2, e1])] + | ^^ + +error: Resource "e1" is declared lock free but used by tasks at different priorities + --> $DIR/local-err.rs:74:66 + | +74 | #[task(priority = 2, binds = UART1, resources = [shared, l2, e1])] + | ^^ + +error: unused imports: `debug`, `hprintln` + --> $DIR/local-err.rs:10:28 + | +10 | use cortex_m_semihosting::{debug, hprintln}; + | ^^^^^ ^^^^^^^^ + | +note: the lint level is defined here + --> $DIR/local-err.rs:4:9 + | +4 | #![deny(warnings)] + | ^^^^^^^^ + = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` + +error: unused import: `lm3s6965::Interrupt` + --> $DIR/local-err.rs:11:5 + | +11 | use lm3s6965::Interrupt; + | ^^^^^^^^^^^^^^^^^^^ |