Skip to content

Interoperability: On the availability of std::ffi and std::os::raw in core #348

Closed

Description

The section on interoperability mentions that "Neither of these modules [std::ffi and std::os::raw] are available in core". Nonetheless, core::ffi has been around since Rust 1.30 and, to my knowledge, contains almost everything that std::ffi and std::os::raw has to offer.

Moreover, since the documentation of std::os::raw explicitly states, "Use core::ffi instead" and that std::ffi contains everything that std::os::raw has, we should probably remove mentions of std::os::raw.

Activity

  1. eldruin commented on May 5, 2023

    @eldruin
    Member

    Sounds reasonable. Please feel free to open a PR updating the section.

  2. added a commit that references this issue on May 8, 2023
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