-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Update to Chalk 88 #13728
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
Update to Chalk 88 #13728
Conversation
We run |
A quick comparison using
So increasing it removes the increase when running it against rust-analyzer itself. Lowering it might make things faster but also hide existing problems more. |
The old value was for the old chalk-engine solver, nowadays the newer chalk-recursive solver is used. The new solver currently uses fuel a bit more quickly, so a higher value is needed. Running analysis-stats showed that a value of 100 increases the amount of unknown types, while for a value of 1000 it's staying mostly the same.
If it's not too much of a hassle, can you also check |
Same story here |
@bors r+ |
☀️ Test successful - checks-actions |
This Chalk release introduces fuel for the recursive solver (chalk#774).
I'm not sure how often it calls
should_continue
compared to the other solver, so we might want to increaseCHALK_SOLVER_FUEL
, the current default value of 100 might be too low.This should fix a lot of hangs and crashes, for example this solves the hang in #12897.