Skip to content

Nightly crashes trying to compile a naked function macro with inline asm #37366

Closed
@the-eugen

Description

@the-eugen

Building https://is.gd/qud5dG with nightly 10-07 and 10-20 crashes with the following message:

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 78', ../src/libcollections/vec.rs:1306

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions