Disabling All Inlining in DMD Debug Builds

Per Nordlöw per.nordlow at gmail.com
Tue Oct 25 08:14:26 UTC 2022


On Monday, 24 October 2022 at 20:43:45 UTC, ryuukk_ wrote:
> I wish we could do ``version(DebugFast | Release)``

Moreover, I've been using, for instance,

```d
version(D_Coverage) {} else pragma(inline, true);
void foo() {}
```

to get correct coverage inclusion of `foo()`. Is this still neeed?


More information about the Digitalmars-d-learn mailing list