Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c89f11e

Browse files
committedMar 31, 2022
Fix library/std compilation on openbsd.
Fix a minor typo from #95241 which prevented compilation on x86_64-unknown-openbsd.
1 parent 3e75146 commit c89f11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/std/src/sys/unix/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ pub mod guard {
522522
// new thread
523523
stack_ptr.addr() - current_stack.ss_size
524524
};
525-
Some(stack_ptr.with_addr(stack_addr))
525+
Some(stack_ptr.with_addr(stackaddr))
526526
}
527527

528528
#[cfg(any(

0 commit comments

Comments
 (0)
Please sign in to comment.