I remember somebody telling me it was, but it was years ago and I'm probably remembering it wrong. Fair enough though; I got told on that one 😶
I'm standing by the principle - it shouldn't matter if you're running in a simulator or not. Use a compile flag if you must know, but in general I disagree with a compiler flag for determining the runtime platform for two platforms with the same API and triple. Karl > > On Jul 11, 2016 at 11:26 PM, <Greg Parker (mailto:gpar...@apple.com)> wrote: > > > > > > > > > On Jul 11, 2016, at 9:50 AM, Karl Wagner via swift-dev > > <swift-dev@swift.org (mailto:swift-dev@swift.org)> wrote: > > > > > > > > > > - Also don't like the simulator condition variable. The iOS simulator is > > literally x86 iOS. If there was an x86 iPhone, theoretically your binaries > > would be compatible. The fact that it runs on a simulator instead of a real > > device is not such a vital distinction (or shouldn't be) that we need > > integrate it in the language. What would we do in the future if there ever > > was a real x86 iOS target? > > > > > > > > > The iOS simulator is not literally x86 iOS. It has changed ABI in > incompatible ways in the past and reserves the right to do so in the future. > Any real x86 iOS would have a real ABI which would likely differ from today's > simulator. > > > > > > -- > > Greg Parker gpar...@apple.com (mailto:gpar...@apple.com) > Runtime Wrangler > >
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev