Skip to content

Some of Rust proc-macro tests cause compiler to crash #614

@mati865

Description

@mati865

Failing tests:

  • tests/ui/proc-macro/meta-macro.rs
  • tests/ui/proc-macro/meta-macro-hygiene.rs

They both crash when calling free when rustc is linked with wild:

--- stdout -------------------------------
Def site: /home/mateusz/Projects/rust/tests/ui/proc-macro/auxiliary/make-macro.rs:7:9: 7:56 (#3)
Input: TokenStream []
Respanned: TokenStream []
------------------------------------------
--- stderr -------------------------------
free(): invalid pointer
------------------------------------------

It's not a crash in the test binary, but a crash inside stage1 rustc executable, likely making the debugging harder.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions