On Saturday, 10 July 2021 at 21:40:54 UTC, Bastiaan Veelo wrote:
On Friday, 9 July 2021 at 03:07:04 UTC, dangbinghoo wrote:
as questioned in the previous thread, I need to find out
something like `--as-needed` options available for D.
You are probably looking for the
[-i](https://dlang.org/dmd-osx.html#switch-i%5B) compiler
option. As far as I know `dub` is not devised to work with
that, so making use of it can be finicky. I have managed to get
it to work on a `sourceLibrary` that we control, not sure how
applicable it is on a third party package.
— Bastiaan.
thanks! but I still think that THIS IS A REAL BUG with D
compiling.
now, my solution will be remove `rpc` with `vibe.d` dependency
and replace `hibernated` using json file storage.