Tokamak
Tokamak copied to clipboard
Support `@main` entry points
It's currently blocked by the upstream lack of support for this in SwiftPM, see https://bugs.swift.org/browse/SR-12683 and https://swiftpm.slack.com/archives/C14QU6CUU/p1594734422189300 for more details
~It looks like that might be unrelated — it’s about not being able to use @main
at all in single-file Swift things, not overriding @main
on a custom class.~ oh I see you just have to define public static func main()
on whatever gets the @main
. Neat!