diff options
author | 2022-08-05 11:28:02 +0200 | |
---|---|---|
committer | 2022-08-05 11:37:16 +0200 | |
commit | 46a3f2befd6fd821e5747ce9db112c550bc989f3 (patch) | |
tree | 384667a40772d821e9d3e95a73293254170adbb5 /macros/src/codegen.rs | |
parent | b48a95e87930fa51ef6fb47ad08a95d3159d9bac (diff) | |
download | rtic-46a3f2befd6fd821e5747ce9db112c550bc989f3.tar.gz rtic-46a3f2befd6fd821e5747ce9db112c550bc989f3.tar.zst rtic-46a3f2befd6fd821e5747ce9db112c550bc989f3.zip |
Fix UB in the access of `Priority` for asyc executors
The `Priority` was generated on the stack in the dispatcher
which caused it to be dropped after usage. This is now fixed
by having the `Priority` being a static variable for executors
Diffstat (limited to 'macros/src/codegen.rs')
0 files changed, 0 insertions, 0 deletions