Skip to content

Commit

Permalink
Fix library/std compilation on openbsd.
Browse files Browse the repository at this point in the history
Fix a minor typo from rust-lang#95241 which prevented compilation on x86_64-unknown-openbsd.
  • Loading branch information
sunfishcode committed Mar 31, 2022
1 parent 3e75146 commit c89f11e
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 c89f11e

Please sign in to comment.