Monorepo?

deadalnix deadalnix at gmail.com
Mon Feb 6 22:56:51 UTC 2023


On Monday, 6 February 2023 at 16:48:51 UTC, Mathias LANG wrote:
> On Monday, 6 February 2023 at 10:22:32 UTC, Atila Neves wrote:
>> Now that dmd/druntime is in one repo, is there a good reason 
>> to not include Phobos?
>
> Because it will inevitably lead to circular dependencies, 
> something Walter is already complaining about.
>
> There was an advantage in merging DMD and druntime: They are 
> tightly coupled, and we often enough situations where you had 
> to merge a PR in one repo to see if things were working in the 
> other. We don't have that requirement in Phobos.

Just don't add things in the include path, and no dependencies 
will be created.

If the build system doesn't allow for this, then change the build 
system.


More information about the Digitalmars-d mailing list