Skip to content

Conversation

@compnerd
Copy link
Owner

Provide a compatibility shim for older releases.

Provide a compatibility shim for older releases.
@compnerd compnerd requested a review from Copilot September 13, 2025 06:32
Copy link

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 adds a compatibility shim for older releases by providing a legacy module map entry for WinSDK in the action configuration.

  • Adds a "(Legacy) WinSDK Module Map" entry to maintain backward compatibility
  • Uses the same source URL as the current WinSDK(UM) Module Map but with a different destination path

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +234 to +237
"(Legacy) WinSDK Module Map" = @{
URL = "https://raw.githubusercontent.com/swiftlang/swift/main/stdlib/public/Platform/winsdk_um.modulemap";
Destination = "$([IO.Path]::Combine("${env:SDKROOT}", "usr", "share", "winsdk.modulemap"))";
};
Copy link

Copilot AI Sep 13, 2025

Choose a reason for hiding this comment

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

[nitpick] The legacy and current module maps point to the same source URL but different destinations. Consider adding a comment explaining why both entries are needed and when the legacy entry can be safely removed to help future maintainers understand the compatibility requirement.

Copilot uses AI. Check for mistakes.
@compnerd compnerd merged commit 5a97613 into main Sep 13, 2025
5 checks passed
@compnerd compnerd deleted the compnerd/compatibility branch September 13, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants