[swift-evolution] [Draft] Expanding Build Configuration Tests for Simulator and Device targets

Dmitri Gribenko gribozavr at gmail.com
Mon Mar 14 14:58:40 CDT 2016


On Mon, Mar 14, 2016 at 11:29 AM, Erica Sadun via swift-evolution
<swift-evolution at swift.org> wrote:
> The os() function that tests for OSX, iOS, watchOS, tvOS, and Linux

and Windows, FreeBSD.

> The arch() function that tests for x86_64, arm, arm64, and i386

and powerpc64, powerpc64le.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-evolution mailing list