Compilation error when trying to compile a simple plugin with Windows SDK 10.0.26100.0 #79745
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Compiling a simple plugin from my MRE repo produces the following error:
What's weird is that picking that
swiftc
invocation line and appending the Windows sdk version produces another error:The only way to reliably make Swift to not pick the latest SDK is to uninstall it system-wide:
Reproduction
git clone https://github.com/yuyoyuppe/swift_plugin_error_repro.git
cd swift_plugin_error_repro
swift package plugin tmp_plugin_verb
Expected behavior
Compilation without failure
Environment
swiftc -version
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: x86_64-unknown-windows-msv
Additional information
No response
The text was updated successfully, but these errors were encountered: