Skip to content

Commit

Permalink
fix(maitake): prevent task cell niche optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Aug 2, 2024
1 parent 2f831df commit 1319c06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maitake/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ struct Schedulable<S> {
/// completed.
///
/// [`Output`]: Future::Output
#[repr(C)]
enum Cell<F: Future> {
/// The future is still pending.
Pending(F),
Expand Down

0 comments on commit 1319c06

Please sign in to comment.