Uh oh!
There was an error while loading. Please reload this page.
Fix main.js for gtk-rs - #59958
Conversation
Can you add a comment explaining what it's doing and why? |
QuietMisdreavus
commented
Apr 14, 2019
What is gtk-rs doing that requires this fix? |
GuillaumeGomez
commented
Apr 14, 2019
It's checking that the values exist before using them. |
jonas-schievink
commented
Apr 14, 2019
Is that only needed by gtk-rs, or would all crates benefit? Why or why not? |
GuillaumeGomez
commented
Apr 14, 2019
I assume that if we had this issue with gtk-rs, other crates might encounter it as well. |
jonas-schievink
commented
Apr 14, 2019
What issue though? Is there an upstream issue you can link to? Why is gtk-rs hitting this and (apparently) no other crates? |
GuillaumeGomez
commented
Apr 15, 2019
I think it's because we're generating a lot of crates at once, which is rarely done outside (or just locally). Another difference is that we generate without crates' docs without minification and then run the minification. However, the process is the same as in rustdoc so chances that it comes from there are quite small. |
Dylan-DPC-zz
commented
Apr 15, 2019
Dylan-DPC-zz
commented
Apr 15, 2019
oops |
QuietMisdreavus
commented
Apr 15, 2019
What do you mean by "a lot of crates at once"? That sounds to me like a regular
In other words, you run your crates' docs with To be clear, the actual change in this PR is small and not even that controversial. What i'm concerned about is that it looked like there was no investigation into what was going on, and that it was framed as a fix specifically for |
Dylan-DPC-zz
commented
May 6, 2019
ping from triage @QuietMisdreavus what's the status of this? |
QuietMisdreavus
commented
Jun 5, 2019
I never heard back from @GuillaumeGomez about what gtk-rs was doing that made this change necessary. I'm convinced this is papering up a different bug in the |
GuillaumeGomez
commented
Jun 6, 2019
I wasn't able to determine if the bug was coming from rustdoc or my gtk-rs minification process... I can't use a workspace system so I'm stuck with using this fix for the moment. |
Mark-Simulacrum
commented
Jul 24, 2019
I'm closing this PR as the relevant procedure should likely be followed here; see #59958 (comment). Please reopen once that investigation is conducted and the PR description is updated. |
We need it for gtk-rs. :)
r? @rust-lang/rustdoc