This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Panic in pprust::print_crate from Registry::expand #33
Comments
This was referenced Feb 26, 2016
Byron
added a commit
to Byron/google-apis-rs
that referenced
this issue
Feb 28, 2016
Many don't work due to serde-deprecated/syntex#33
Also getting this failure on various |
Please note that the current workaround is to use |
Thanks for filing this. This seems to be some bug in the upstream libsyntax. I'll poke around and see if updating syntex to the latest libsyntax will fix things. |
This was referenced May 28, 2016
bors
added a commit
to rust-lang/rust
that referenced
this issue
May 29, 2016
Prevent overflows by increasing ring buffer size Please note that this change is just done to prevent issues as currently seen by syntex_syntax in future. See serde-deprecated/syntex#47 for details. As shown in serde-deprecated/syntex#33, complex code can easily overflow the ring-buffer and cause an assertion error.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not really sure how to reduce this example, but I am seeing a panic during Registry::expand when using syntex 0.29:
the crate in question is the
google-storage1
crate from https://github.com/Byron/google-apis-rs.The panic can be reproduced by cloning the repo and running
make storage1-cargo ARGS=build
. I believe this to be a bug in syntex, not ingoogle-storage1
, but I could be incorrect.The text was updated successfully, but these errors were encountered: