You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift run PNGTests
Building for debugging...
c:\Users\1\Documents\tmp1\swift-png\Tests\PNG\Main.swift:9:1: error: 'main' attribute cannot be used in a module that contains top-level code
@main
^
c:\Users\1\Documents\tmp1\swift-png\Tests\PNG\Main.swift:1:1: note: top-level code defined in this source file
@testable import PNG
^
c:\Users\1\Documents\tmp1\swift-png\Tests\PNG\Main.swift:9:1: error: 'main' attribute cannot be used in a module that contains top-level code
@main
^
c:\Users\1\Documents\tmp1\swift-png\Tests\PNG\Main.swift:1:1: note: top-level code defined in this source file
@testable import PNG
^
Version of swift:
swift --version
compnerd.org Swift version 5.7.1 (swift-5.7.1-RELEASE)
Target: x86_64-unknown-windows-msvc
These unit tests build and run on macOS normally. Version of swift on macOS is the same as on Windows.
The text was updated successfully, but these errors were encountered:
Version of swift:
These unit tests build and run on macOS normally. Version of swift on macOS is the same as on Windows.
The text was updated successfully, but these errors were encountered: