Tests: Annotate configurationJSON in SwiftTestMain with noisolate
This was causing some warnings, so annotate this argument we aren't even using with noisolate(unsafe) to make the compiler stop.
This commit is contained in:
parent
0075048206
commit
d953c6b451
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ func swt_abiv0_getEntryPoint() -> UnsafeRawPointer
|
|||
|
||||
@main struct Runner {
|
||||
static func main() async throws {
|
||||
let configurationJSON: UnsafeRawBufferPointer? = nil
|
||||
nonisolated(unsafe) let configurationJSON: UnsafeRawBufferPointer? = nil
|
||||
let recordHandler: @Sendable (UnsafeRawBufferPointer) -> Void = { _ in }
|
||||
|
||||
let entryPoint = unsafeBitCast(swt_abiv0_getEntryPoint(), to: EntryPoint.self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue