Skip to content

[stable] druntime: Only define GC-trace templates when compiling with -profile=gc - #14914

Merged
thewilsonator merged 2 commits into
dlang:stablefrom
kinke:array_setlength_deps
Feb 25, 2023
Merged

thewilsonator merged 2 commits into
dlang:stablefrom
kinke:array_setlength_deps

Conversation

@kinke

@kinke kinke commented Feb 25, 2023

Copy link
Copy Markdown
Contributor

Analogous to #14912, and covered by druntime/test/profile/src/profilegc.d too.

…ofile=gc

Analogous to dlang#14912, and covered by druntime/test/profile/src/profilegc.d
too.
@dlang-bot

Copy link
Copy Markdown

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 verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

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 references

Your 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 locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + dmd#14914"

@kinke kinke changed the title [stable] druntime: Only define _d_arraysetlengthTTrace when compiling with -profile=gc [stable] druntime: Only define GC-trace templates when compiling with -profile=gc Feb 25, 2023
@kinke
kinke force-pushed the array_setlength_deps branch from ff9b556 to 9a4bfd7 Compare February 25, 2023 15:13
@thewilsonator
thewilsonator merged commit 7858928 into dlang:stable Feb 25, 2023
@kinke
kinke deleted the array_setlength_deps branch February 25, 2023 23:19
@ibuclaw ibuclaw mentioned this pull request Mar 1, 2023
teodutu added a commit to teodutu/dmd that referenced this pull request Apr 15, 2023
…file=GC`

This brings `_d_arraycatnTXTrace` in line with the changes brought
by dlang#14914.

Signed-off-by: Teodor Dutu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants