pepyakin edited PR #3169 from pep-disable-parallel-compilation to main.
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
pepyakin requested peterhuene for a review on PR #3169.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
This is currently intentional in that it takes
fninstead of a closure because this is doing caching internally and trying to guarantee that the closure doesn't close over anything that isn't hashed and computed for caching. Is it possible to use the function-based version of this?
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Could this argument be baked into the
Compileritself rather than passed as a parameter? I also think it's fine for it to be an unconditional parameter to avoid the#[cfg]on usage
alexcrichton created PR review comment:
I think this macro be be out-living its usefulness as at this point it's branching into somewhat more obscure syntax.
I think our parallel operations are basically all
map/collectso perhaps a new method could be exposed onCompilerwhich does that operation "take this list and run this closure and return the results" where the one method has internal#[cfg]and such for rayon vs not?
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
alexcrichton closed without merge PR #3169.
pepyakin reopened PR #3169 from pep-disable-parallel-compilation to main.
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
abrown updated PR #3169 from pep-disable-parallel-compilation to main.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
I think this no longer needs the
#[cfg]?
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
pepyakin updated PR #3169 from pep-disable-parallel-compilation to main.
alexcrichton submitted PR review.
alexcrichton merged PR #3169.
Last updated: Dec 06 2025 at 06:05 UTC