Skip to content

Commit c89f11e

Browse files
committed
Fix library/std compilation on openbsd.
Fix a minor typo from rust-lang#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

+1-1
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)