Skip to content

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

@abt8601

Description

@abt8601

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.

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