Skip to content

Wrong encoding of Rust unicode chars #1953

@maximebuyse

Description

@maximebuyse

Rust chars are unicode characters, while chars in OCaml, Rocq, F*, and more are just one byte. This means our handling of char literals is wrong in the OCaml engine AST (I fixed that in the private hax-evit, will be upstreamed here later), for all non-ASCII chars. And our encoding of chars in general in most backends is also wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssue in one of the backends (i.e. F*, Coq, EC...)bugSomething isn't workingcoqCoq backendf*F* backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions