mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
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
Notes:
github-actions[bot]
2024-11-26 10:01:44 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/d953c6b451e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2582
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