Skip to content

Make sure FEATURE_STANDALONE_GC is defined for the usual VM build #113347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

cshung
Copy link
Member

@cshung cshung commented Mar 10, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings March 10, 2025 22:14
Copy link
Contributor

@Copilot 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.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@jkotas
Copy link
Member

jkotas commented Mar 10, 2025

Is this fixing a regression introduced by #111682 ? (cc @janvorli)

Copy link
Contributor

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

@@ -173,6 +173,10 @@ endif(CLR_CMAKE_HOST_WIN32)
#----------------------------------
include(clrdefinitions.cmake)

if(FEATURE_STANDALONE_GC)
Copy link
Member

Choose a reason for hiding this comment

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

The define is added in the gc/CMakeLists.txt, I am not sure I understand why we would need to add it here.

Copy link
Member

@janvorli janvorli Mar 10, 2025

Choose a reason for hiding this comment

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

Ah, I see, I have missed that the define is not used just inside of the GC code, but also in the runtime to enable the code that loads the standalone GC.

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@cshung cshung merged commit b593db5 into dotnet:main Mar 11, 2025
96 checks passed
@cshung cshung deleted the public/fix-ifdef branch March 11, 2025 15:31
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants