Skip to content

Rust char is not wchar_t e.g. on Windows #373

@hsivonen

Description

@hsivonen

Rust's char is 32 bits wide. wchar_t is not 32 bits wide e.g. on Windows, so mapping Rust's char to wchar_t is incorrect. (wchar_t is non-portable and generally a bad idea.) Rust's char should map to C11 char32_t.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions