dlang / dub

Package and build management system for D
MIT License
673 stars 230 forks source link

dub describe --data=dflags outputs duplicate dflags #2767

Open MrcSnm opened 9 months ago

MrcSnm commented 9 months ago

System information

Bug Description

Whenever having a project with "dflags" and some dependency with "dflags", and this dependency includes dflags the same as the parent, the dependency is built using a command with duplicate DFLAGS. This sympton is present whenever one uses --verbose or using dub describe

maxhaton commented 9 months ago

What problems does this cause?

MrcSnm commented 8 months ago

What problems does this cause?

Readability problem when using --verbose. It also makes the CL command bigger, which is bad for usage with custom tooling when using with Windows. Also, I really don't think we should ever be passing duplicate dflags.