Rollup merge of #95505 - sunfishcode:sunfishcode/fix-openbsd, r=dtolnay
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:
commit
0b71ca84b0
@ -522,7 +522,7 @@ unsafe fn get_stack_start() -> Option<*mut libc::c_void> {
|
||||
// new thread
|
||||
stack_ptr.addr() - current_stack.ss_size
|
||||
};
|
||||
Some(stack_ptr.with_addr(stack_addr))
|
||||
Some(stack_ptr.with_addr(stackaddr))
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
|
Loading…
Reference in New Issue
Block a user