Open jyn514 opened 3 years ago
While true, it's not clear to me that we expect people to build rustfmt in tree much since it's a submodule, and I think this would increase complexity in an unfortunate way with bootstrap's current architecture based on my expectation for what it would take; I'd prefer not to do it without stronger justification.
While true, it's not clear to me that we expect people to build rustfmt in tree much since it's a submodule, and I think this would increase complexity in an unfortunate way with bootstrap's current architecture based on my expectation for what it would take; I'd prefer not to do it without stronger justification.
I'm hoping to make rustfmt a subtree instead of a submodule: https://github.com/rust-lang/rust/pull/82208. See today's discussion in #dev-tools: https://discord.com/channels/442252698964721669/459149107387170817/811347550660722749
I think this would increase complexity in an unfortunate way with bootstrap's current architecture based on my expectation for what it would take
This is true, but I was hoping to make a similar change at some point anyway so you can e.g. run x.py build library/core
and not build libstd.
Rustfmt only depends on the parser, not type checking, and building rustc_middle greatly increases the time it takes to build.