Skip to content

Rust bindings does not encode non-zero line invariant from C API #30

@cijiugechu

Description

@cijiugechu

The C/C++ API documents line numbers as 1-based, with 0 reserved as an error sentinel.
However, the Rust binding currently models lines as plain u32 in public data structures, so the non-zero invariant is not fully encoded in types.

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