Skip to content

embed binary files length incorrect #338

@bvdberg

Description

@bvdberg

The last byte of a binary embed (const u8[]) is set to 0.
This comes from the fact that it is stored inside a string literal inside the AST, since this is the most efficient way of
storing it. Adding a new AST Element type seems like overkill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions