You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the issue. Markup5ever uses proc_macro2 in it's build script, which tries to detect if it s running inside a proc macro or not by invoking a function that panics when not run inside a proc macro. cg_clif doesn't support catching panics and thus aborts. This should have been fixed in dtolnay/proc-macro2#300, but it seems that I made a mistake with the #[cfg]. Opened dtolnay/proc-macro2#303 with a confirmed fix.
Repro:
It seems to crash in
write_to(&mut generated)
(grep it) when string cache string-cache callsAtomType::to_tokens
in the body ofwrite_to
.I don't know how to get the backtrace since it just aborts.
It works correctly with normal cargo.
The text was updated successfully, but these errors were encountered: