We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2d7fd commit 37d165eCopy full SHA for 37d165e
core/src/coroutine/stack_pool.rs
@@ -75,8 +75,8 @@ unsafe impl Stack for PooledStack {
75
#[cfg(windows)]
76
#[inline]
77
fn update_teb_fields(&mut self, stack_limit: usize, guaranteed_stack_bytes: usize) {
78
- self.stack
79
- .get_mut()
+ Rc::get_mut(self.stack.get_mut())
+ .expect("PooledStack is not unique")
80
.update_teb_fields(stack_limit, guaranteed_stack_bytes);
81
}
82
0 commit comments