wrap references to resources in static-ref's Ref/RefMut

to assert that they point to `static` data
This commit is contained in:
Jorge Aparicio 2017-04-14 09:45:50 -05:00
parent 4d8d53a206
commit a94de6bafc
3 changed files with 30 additions and 23 deletions

View file

@ -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"