mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
To enable lookup of the entry point, emit a pointer to that entry point into a new section; on MachO, the __swift5_entry section of the __TEXT segment. rdar://problem/66402358
7 lines
75 B
Swift
7 lines
75 B
Swift
@main
|
|
struct Entry {
|
|
static func main() {
|
|
print("howdy mundo")
|
|
}
|
|
}
|