-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move common Linux ptrace definitions to linux_like/mod.rs #3463
Conversation
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
@bors r+ |
Move common Linux ptrace definitions to linux_like/mod.rs Move common Linux ptrace definitions to linux_like/mod.rs.
💔 Test failed - checks-actions |
☔ The latest upstream changes (presumably #3453) made this pull request unmergeable. Please resolve the merge conflicts. |
Could you check the test failure? |
@mbyzhang are you able to rebase this so we can figure out the CI and get it merged? |
@mbyzhang ping, this just needs a rebase |
pub arch: ::__u32, | ||
pub instruction_pointer: ::__u64, | ||
pub stack_pointer: ::__u64, | ||
#[cfg(libc_union)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cfg
can be removed since it isn't relevant on main
anymore
cfg_if! { | ||
if #[cfg(libc_union)] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These types can be moved out of the cfg
(same reason as above)
Move common Linux ptrace definitions to linux_like/mod.rs.