Skip to content

Fix the compiler toolset override for runtime-async #116722

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
Jun 17, 2025

Conversation

agocke
Copy link
Member

@agocke agocke commented Jun 16, 2025

The compiler toolset branch we're using is lagging and doesn't have this property set. I'll manually set it here.

@Copilot Copilot AI review requested due to automatic review settings June 16, 2025 22:49
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 16, 2025
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.

Pull Request Overview

This PR ensures that the tests build uses a private compiler build supporting runtime-async by specifying both the compiler version and type.

  • Adds the RoslynCompilerType property set to Custom alongside the existing toolset version override.
  • Ensures the build uses a custom Roslyn compiler for async support in tests.
Comments suppressed due to low confidence (1)

src/tests/Directory.Build.props:14

  • [nitpick] Consider adding a brief comment above this property to explain why RoslynCompilerType needs to be set to Custom, which will aid future maintainers in understanding its purpose.
<RoslynCompilerType>Custom</RoslynCompilerType>

@agocke
Copy link
Member Author

agocke commented Jun 16, 2025

@jakobbotsch This should fix the issue you were seeing with the toolset compiler

@agocke agocke enabled auto-merge (squash) June 16, 2025 22:53
@am11 am11 added area-Infrastructure-coreclr runtime-async and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jun 16, 2025
Copy link
Contributor

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

@agocke
Copy link
Member Author

agocke commented Jun 17, 2025

/ba-g unrelated failure

@agocke agocke merged commit 5a098b8 into dotnet:main Jun 17, 2025
79 of 81 checks passed
@agocke agocke deleted the fix-runtime-async-compiler branch June 17, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants