-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Compiler panic on two-line feature gate #23110
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
triage: P-high not 1.0 blocker. (Tempted to make it P-low, but I think all ICE's should probably get at least P-high). |
Same issue here: |
https://travis-ci.org/servo/html5ever/builds/56209902 (Ogeon/html5ever@40e1a73, on |
I have a similar problem. Unfortunately I have it in a when I calls I've noted it only happens if I include xml5tokenize in examples. Also removing feature gates, didn't help: Here is the backtrace it produced: https://gist.github.com/Ygg01/dcaee0167b8edbb6c71b Meta
|
I'm seeing that on my html5ever branch as well :/ |
In that case the crash happens in debug info and is fixed by removing |
Can anyone reproduce this now? |
Old bug with no repros. |
Enable debugging information in dev and test builds. It's pretty surprising when tests and dev builds can't be debugged. Debugging information was disabled in 1223b23 (2015-3-31) because of rust-lang/rust#23110, which was closed 2016-7-14. It should be okay to turn it back on now.
Compiler panics when I have separate lines for feature gates.
I tried this code:
https://github.com/hauleth/inter/blob/compiler-error/src/lib.rs (sorry for the project link, but I cannot reproduce it in any other environment)
When I try to compile any examples or tests I get (output for
cargo test
):Code fixup
It is fixed in master by joining feature gates in one call.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: