aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2022-08-05 11:28:02 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2022-08-05 11:37:16 +0200
commit46a3f2befd6fd821e5747ce9db112c550bc989f3 (patch)
tree384667a40772d821e9d3e95a73293254170adbb5 /macros/src/codegen.rs
parentb48a95e87930fa51ef6fb47ad08a95d3159d9bac (diff)
downloadrtic-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