December 07, 2017 [Issue 18042] New: rdmd ignores --exclude when -deps is provided | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18042 Issue ID: 18042 Summary: rdmd ignores --exclude when -deps is provided Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: tools Assignee: nobody@puremagic.com Reporter: timothee.cour2@gmail.com adding -deps inside rdmd command below will print all dependencies inside bar.foo.fun; it shouldn't because we passed --exclude=bar ./setup.sh: build_lib(){ dmd -of=libfoo.a -lib bar/foo.d } build_main(){ exe=./main rdmd --force -v --build-only -of$exe -L-lfoo -L-L. --exclude=bar main.d $exe } ./main.d: import bar.foo; void main(){ fun(); } ./bar/foo.d: module bar.foo; void fun(){ import std.stdio; writeln("ok1"); } -- |
Copyright © 1999-2021 by the D Language Foundation