Skip to content

Commit

Permalink
Rollup merge of rust-lang#95505 - sunfishcode:sunfishcode/fix-openbsd…
Browse files Browse the repository at this point in the history
…, r=dtolnay

Fix library/std compilation on openbsd.

Fix a minor typo from rust-lang#95241 which prevented compilation on x86_64-unknown-openbsd.
  • Loading branch information
Dylan-DPC authored Mar 31, 2022
2 parents 57206d7 + c89f11e commit 0b71ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0b71ca8

Please sign in to comment.