mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This allows script mode to pick up the current version of macOS instead of defaulting to 10.9, making it unnecessary to write #available. A -target flag can still override this if you're trying to write a portable script. The logic is a little tortured to avoid having to actually link to Foundation.framework or libobjc. Finishes rdar://problem/29433205.
54 KiB
54 KiB