-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Streamline config parsing method #144301
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
base: master
Are you sure you want to change the base?
Streamline config parsing method #144301
Conversation
This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
e1a4d2a
to
db3b43d
Compare
Can be rebased now. |
☔ The latest upstream changes (presumably #144294) made this pull request unmergeable. Please resolve the merge conflicts. |
1. Moves TOML build parsing into a separate module. 2. Corrects the ordering of `apply_*_config` method calls. 3. Moves download logic specific to `toml_config` into its own module. 4. Updates tests to align with the correct behavior.
db3b43d
to
121be5a
Compare
I went through this and seeing how the code is structured now helped me realize some issues with how we currently parse Config. I did some experiments based on your branch and I'd like to propose a slightly different structuring here. We can discuss it during our next call. |
☔ The latest upstream changes (presumably #144360) made this pull request unmergeable. Please resolve the merge conflicts. |
@rustbot blocked On refactoring download methods. |
This PR should be merged after: #144126 (as this PR contains few of it commits )
This PR streamlines the parse_inner function of the config:
r? @Kobzol