Repository navigation
[stable] druntime: Reduce intra-druntime dependencies for array-appending hook - #14912
Conversation
This is important for CTFE-string-appending etc. for targets without proper druntime support, such as WebAssembly. See ldc-developers/ldc#4324 for an examplary breakage caused by the hook addition in D v2.101, rendering dub totally unusable for such targets. In particular, skip all the `-profile=gc` stuff when not using that cmdline option.
|
Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "stable + dmd#14912" |
|
The existing test coverage in https://github.com/dlang/dmd/blob/master/druntime/test/profile/src/profilegc.d looks sufficient, plenty of array appends. |
…ofile=gc Analogous to dlang#14912, and covered by druntime/test/profile/src/profilegc.d too.
This is important for CTFE-string-appending etc. for targets without proper druntime support, such as WebAssembly.
See ldc-developers/ldc#4324 for an exemplary breakage caused by the hook addition in D v2.101, rendering dub totally unusable for such targets.
In particular, skip all the
-profile=gcstuff when not using that cmdline option.