Skip to content

Conversation

@max-charlamb
Copy link
Member

@max-charlamb max-charlamb commented Aug 26, 2025

Found this while working on #119119

Diagnostics tests passed locally on the modified code

@Copilot Copilot AI review requested due to automatic review settings August 26, 2025 23:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a DAC (Data Access Component) configuration bug where the background GC build variant flag was being set incorrectly. The issue was that the code was setting the build_variant_background_gc flag when background GC was not enabled, rather than when it was enabled.

  • Corrects the conditional compilation directive from #ifndef BACKGROUND_GC to #ifdef BACKGROUND_GC
  • Updates the corresponding comment to match the corrected logic
Comments suppressed due to low confidence (1)

@max-charlamb max-charlamb changed the title [DAC] Properly configuration BACKGROUND_GC DAC check [DAC] Properly configure BACKGROUND_GC check for the DAC Aug 26, 2025
@max-charlamb max-charlamb merged commit 5621da6 into dotnet:main Aug 28, 2025
98 checks passed
@max-charlamb max-charlamb deleted the dac-background branch August 28, 2025 00:58
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants