← Back to index
|
Original Bugzilla link
Bug 18042 – rdmd ignores --exclude when -deps is provided
Status
RESOLVED
Resolution
MOVED
Severity
major
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2017-12-07T07:20:59Z
Last change time
2021-01-09T11:09:44Z
Assigned to
No Owner
Creator
Timothee Cour
Comments
Comment #0
by timothee.cour2 — 2017-12-07T07:20:59Z
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"); }
Comment #1
by johnnymarler — 2018-01-10T03:07:11Z
Just wanted to make a note that we should retest this bug once this PR is integrated.
https://github.com/dlang/tools/pull/271
Comment #2
by johnnymarler — 2018-01-16T17:37:57Z
Fixed with:
https://github.com/dlang/tools/pull/271
Comment #3
by johnnymarler — 2018-01-20T02:23:24Z
https://github.com/dlang/tools/pull/271
was reverted
Comment #4
by pro.mathias.lang — 2021-01-09T11:09:44Z
Moved to:
https://github.com/dlang/tools/issues/422