Fix library/std compilation on openbsd.

Fix a minor typo from #95241 which prevented compilation on x86_64-unknown-openbsd.
This commit is contained in:
Dan Gohman 2022-03-30 18:06:21 -07:00
parent 3e7514670d
commit c89f11e1db

View File

@ -522,7 +522,7 @@ pub mod guard {
// new thread
stack_ptr.addr() - current_stack.ss_size
};
Some(stack_ptr.with_addr(stack_addr))
Some(stack_ptr.with_addr(stackaddr))
}
#[cfg(any(