Skip to content

ARM clibs with u8 #351

Closed
Closed
@JBenda

Description

@JBenda

As referenced here on ARM architectures (e.g. Raspberry Pi) the cLibs uses u8 as pointer type instead of i8.
This is a problem in flags.rs, where the implementations of as_ptr() are not platform-agnostic.

If someone tells me how this project recognize the default data pointer type, I could open a PR.

Or if there is already a flag that I should have set, please let me know, and I apologize for bothering you.

Hotfix: replace return type of each as_ptr function in lex/sr/flags.rs with c_char and define it to your platform needs.

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