Skip to content

Wrong output for static arrays #476

@dblsaiko

Description

@dblsaiko
#[no_mangle]
pub static mut MCRT_ERROR_TEXT: [c_char; 128] = [0; 128];

outputs this

extern char[128] MCRT_ERROR_TEXT;

when it should be this:

extern char MCRT_ERROR_TEXT[128];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions