-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Diesel takes forever to compile with 32-column-tables as of #2182 #2480
Comments
Technically that's a closed because cannot reproduce. I can successful compile diesel with default features, so I "achieved" your "expected output" section. 😜 We may want to raise a bug in rustc for that. I think the will require a minimal standalone example so someone needs to sit down and build one using the strategies listed here. It would be great if you can provide such a condensed example. I currently (at least till mid of September) do not have the time to sit down and build such a minimal example or find the exact reason why this happens. Till then the workaround is: Either wait till diesel is build for the first time, after that is should be faster or try to use only the the minimal 16-columns feature. |
Additional notes: |
I've used rustc's profiling infrastructure to see where the time is spend.
This is from building without the
Both times the output for passes where > 10% of the time is spend. So it seems like for the |
Ok I think I've found the problem. Removing this impl will bring the compile times back to a reasonable level. That's obviously no solution that we can merge, but at least we know what's the cause of this. Next steps:
|
I have the same issue, cannot compile on my macbook pro :( Looks like it hangs forever. I'm sad lol |
@bnjjj Please elaborate what you want to tell us with your comment. Otherwise please do not comment: "Happens for me too" on random issues, as this does not add something to the discussion there. |
Oh ok sorry my bad, I just confirm that on my macbook pro when I upgrade to the latest version of Diesel as the title of this issue mention here the compile time is very very long. |
Setup
Versions
Feature Flags
Problem Description
As of 8d3c955 (#2182), diesel takes forever to compile when default features are enabled.
What are you trying to accomplish?
What is the expected output?
Compiles successfully
What is the actual output?
After ~1h with
64-column-tables
(And so far, 15m with32-column-tables
)Are you seeing any additional errors?
no
The text was updated successfully, but these errors were encountered: