Skip to content

Commit 0b71ca8

Browse files
authored
Rollup merge of rust-lang#95505 - sunfishcode:sunfishcode/fix-openbsd, r=dtolnay
Fix library/std compilation on openbsd. Fix a minor typo from rust-lang#95241 which prevented compilation on x86_64-unknown-openbsd.
2 parents 57206d7 + c89f11e commit 0b71ca8

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)