Skip to content

clang does not like rust_box's flexible array #368

@erickt

Description

@erickt

Compiling rust_builtin.cpp errors out with this message:

compile: rt/rust_builtin.o
../rust/src/rt/rust_builtin.cpp:388:13: error: flexible array 'data' not allowed in otherwise empty struct
    uint8_t data[];
            ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions