Open
Description
Description
When building swift-testing, we fail to load the TestingMacros.dll
S:\SourceCache\swift-project\swift-testing\Sources\Testing\Expectations\Expectation+Macro.swift:239:40: warning: external macro implementation type 'TestingMacros.RequireThrowsMacro' could not be found for macro 'require(throws:_:sourceLocation:performing:)'; failed to load library plugin 'S:\b\x86_64-unknown-windows-msvc\TestingMacros\TestingMacros.dll' in plugin server 'S:\b\5\bin\SwiftInProcPluginServer.dll'; loader error: 127
237 | /// this macro. The test will then fail if an error is thrown.
238 | @discardableResult
239 | @freestanding(expression) public macro require<E, R>(
| `- warning: external macro implementation type 'TestingMacros.RequireThrowsMacro' could not be found for macro 'require(throws:_:sourceLocation:performing:)'; failed to load library plugin 'S:\b\x86_64-unknown-windows-msvc\TestingMacros\TestingMacros.dll' in plugin server 'S:\b\5\bin\SwiftInProcPluginServer.dll'; loader error: 127
240 | throws errorType: E.Type,
241 | _ comment: @autoclosure () -> Comment? = nil,
Reproduction
Build swift-testing as part of the toolchain build
Expected behavior
For the macros to be loaded
Environment
Swift version 6.2-dev (LLVM 78f6e5fce7642cb, Swift 270ffa6855ecd96)
Target: x86_64-unknown-windows-msvc
Additional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
TODO