Skip to content

Linux siginfo_t is not Send/Sync since 0.2.190 #5624

Description

@dtolnay

Since c554436 / #5345, x86_64-unknown-linux-gnu's libc::siginfo_t that used to implement Send and Sync in 0.2.189 no longer does. It isn't clear from the PR or commit descriptions that this was intentional.

fn require_send_sync<T: Send + Sync>() {}

fn main() {
    require_send_sync::<libc::siginfo_t>();
}

@dybucc @tgross35

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions