-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack overflow in s-structured-log-0.2.0, Rust 1.16 #38973
Comments
Need to try to extract a test case from the docs. |
Stack trace. Stack overflow is in rustc. |
The overflow happens on this example and doesn't reproduce in rustc alone, may have to do something with how rustdoc calls the compiler. |
Seems like rustdoc doesn't use the |
triage: P-high |
Hmm, I can't reproduce the problem, but I can produce a PR to at least get rustdoc to run compiler the same way it runs everything else when doing tests. |
Hmm, so, I had thought to just run this code in |
I am testing @nikomatsakis's patch. FWIW I cannot repro on the 01-13 nightly, only the one listed in the op. |
With @nikomatsakis's patch on top of the commit in the op the bug does not reproduce. |
run rustdoc tests in the same sort of thread rustc runs in Not sure yet if this is the problem in rust-lang#38973 but seems like an improvement regardless. r? @brson
Given that #39142 landed I'm going to call this closed. =) |
http://github.com/siphilia/s-structured-log-rs a54b1a7d69261a952fcf8e597d751c5973986ceb
Not on stable/beta.
cc @siphilia
The text was updated successfully, but these errors were encountered: