mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
wrap references to resources in static-ref's Ref/RefMut
to assert that they point to `static` data
This commit is contained in:
parent
4d8d53a206
commit
a94de6bafc
3 changed files with 30 additions and 23 deletions
|
|
@ -11,6 +11,7 @@ syn = "0.11.10"
|
|||
[dependencies]
|
||||
cortex-m = "0.2.2"
|
||||
typenum = "1.7.0"
|
||||
static-ref = { git = "https://github.com/japaric/static-ref" }
|
||||
|
||||
[dev-dependencies]
|
||||
compiletest_rs = "0.2.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue