https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121963

--- Comment #4 from jussi.pakkanen at mailbox dot org ---
If it were possible to state "having multiple modules with the same name in the
same build tree is not supported even though in theory it could be made to work
if you are really careful" then it would simplify module usage _a lot_. All
module binary files could go in the same directory and things would just work.

The only niggle is import std, which would require separate dirs because having
multiple versions of std is a niche, but still feasible feature. For example
you might want to test a library against multiple stdlib versions.

I fear that this can't be reached in practice, but wouldn't it be nice if it
were?

Reply via email to