-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #1488 - loganwendholt:user-regs, r=gnzlbg
Copy structs from bits/user.h for musl x86_64 While statically compiling a binary with `musl`, I ran into the following error regarding a missing struct: ``` error[E0412]: cannot find type `user_regs_struct` in crate `libc` --> src/debug.rs:37:32 | 37 | fn show_user_regs(regs: &libc::user_regs_struct) -> String { | ^^^^^^^^^^^^^^^^ not found in `libc` ``` This struct was previously added for `glibc` in #599, but was never added to `musl`, despite the data format being the same in both. This fix simply copies `user_regs_struct` into the proper location within the `musl` files.
- Loading branch information
Showing
1 changed file
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters