Skip to content

API Docs: ffi #29354

Closed
Closed
@steveklabnik

Description

@steveklabnik

Part of #29329

http://doc.rust-lang.org/std/ffi/

Here's what needs to be done to close out this issue:

  • the module docs are almost non-existent, and should talk about how this isn't so much FFI bindings as it is stuff useful for interop with C, which is FFI of course, but that's it. It's not a comprehensive FFI solution.
  • CStr should make the comparison with str. it needs a lot of links.
  • CString should make the comparison with String. It also needs a lot of links.
  • FromBytesWithNulError should use the iterator style boilerplate for linking to where it came from.
  • IntoStringError same
  • NulError same.
  • OsStr should make the str comparison, and needs a lot more elaboartion. It should look like CStr.
  • OsString should make the comparison with String, and should look a lot like CString.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-help-wantedCall for participation: Help is requested to fix this issue.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.P-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions