diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2025-06-08 10:23:41 +0200 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2025-06-08 09:34:28 +0000 |
| commit | 8193d5aea66f75c1b40248021760785428a1bf96 (patch) | |
| tree | e6b87424471a97a4feca19f6b549ef876f1c6c15 /rtic-macros/src/codegen/pre_init.rs | |
| parent | 45a2ae8c7f5ca62b9091cb1fd7154295348a9917 (diff) | |
Fix references allowed in `spawn`
The futures passed to the executor were not bound
to be 'static, which allowed task futures to
reference data that's on the spawnee's stack.
The executor now requires futures to be 'static.
Diffstat (limited to 'rtic-macros/src/codegen/pre_init.rs')
0 files changed, 0 insertions, 0 deletions
