Skip to content

FFI guide should be more explicit about the libc crate #28053

Closed
@steveklabnik

Description

@steveklabnik

https://doc.rust-lang.org/book/ffi.html#interoperability-with-foreign-code in general says

The standard library includes type aliases and function definitions for the C standard library in the libc module,

Which is wrong.

Reported in https://news.ycombinator.com/reply?id=10132745

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