mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Defines the %target-playground-build-run-swift macro in the local lit config for PlaygroundTransform which contains all the boilerplate code used by most PlaygroundTransform tests: * Build a PlaygroundSupport module * Build the test source into an executable, linking PlaygroundSupport * Codesign and run the executable
6 lines
231 B
Swift
6 lines
231 B
Swift
// main (module-name) -> 1 (module-id)
|
|
internal let __builtin_pg_module_main: Int = 1
|
|
|
|
// main (module-name), main (file-name), main_ (file-name-punycode) -> 2 (file-id)
|
|
internal let __builtin_pg_module_main_pg_file_main_: Int = 2
|