-
Notifications
You must be signed in to change notification settings - Fork 552
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
Bug 1774585 - Collect required files to perform a build #1187
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1187 +/- ##
==========================================
- Coverage 29.22% 29.16% -0.06%
==========================================
Files 47 47
Lines 16764 16819 +55
Branches 8020 8058 +38
==========================================
+ Hits 4899 4905 +6
- Misses 6785 6839 +54
+ Partials 5080 5075 -5
Continue to review full report at Codecov.
|
I'm not going to have the time to investigate this in a timely manner, but invoking cargo is likely to cause problems in corner cases, so this should be investigated very thoroughly before it can be merged. |
If there's a better solution to that, I'm open, but I needed a quick fix ... |
67b1bb7
to
3056a7b
Compare
Random additional thought: the underlying issue you're working around here is is not only a problem for distributed compilation. There's also a problem for caching, whereby building after changes to a file read by a proc-macro can have a cache hit from a build without changes. |
You mean that build system should be aware that changes to e.g. Should not that be fixed on the crate side, e.g., with a |
To track files as dependencies at proc-macro execution is a solution to this issue rust-lang/rust#84029 - in the past |
No description provided.