diff options
author | 2017-05-08 12:53:35 -0500 | |
---|---|---|
committer | 2017-05-08 12:53:35 -0500 | |
commit | 42968fcc495be5236856a39434c1c608940a069a (patch) | |
tree | f76d3e71e8625d256decbc1599d0d7d86637959c /src/lib.rs | |
parent | 9d2d0a1447a52ae8b504ffb1d36af39b463f5339 (diff) | |
download | cortex-m-42968fcc495be5236856a39434c1c608940a069a.tar.gz cortex-m-42968fcc495be5236856a39434c1c608940a069a.tar.zst cortex-m-42968fcc495be5236856a39434c1c608940a069a.zip |
forbid sending interrupt tokens across interrupts
which would break the `ctxt::Local` abstraction by making `Mutex` `Sync` only if
the protected data is `Send`. See the CHANGELOG for details. To fully fix the
memory unsafety, svd2rust needs to be updated to mark interrupt tokens as
`!Send`
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions