Skip to content

Is bool FFI compatible, and if so, what is it defined to be? #14608

Closed
@carllerche

Description

@carllerche

I am unsure how bool is represented in memory and how it works with fns that have that are C ABI compatible.

Perhaps it would be worth matching what stdbool does?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-FFIArea: Foreign function interface (FFI)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions