Skip to content
Snippets Groups Projects
  • Cherry Zhang's avatar
    a413908d
    all: add GOOS=ios · a413908d
    Cherry Zhang authored
    Introduce GOOS=ios for iOS systems. GOOS=ios matches "darwin"
    build tag, like GOOS=android matches "linux" and GOOS=illumos
    matches "solaris". Only ios/arm64 is supported (ios/amd64 is
    not).
    
    GOOS=ios and GOOS=darwin remain essentially the same at this
    point. They will diverge at later time, to differentiate macOS
    and iOS.
    
    Uses of GOOS=="darwin" are changed to (GOOS=="darwin" || GOOS=="ios"),
    except if it clearly means macOS (e.g. GOOS=="darwin" && GOARCH=="amd64"),
    it remains GOOS=="darwin".
    
    Updates #38485.
    
    Change-Id: I4faacdc1008f42434599efb3c3ad90763a83b67c
    Reviewed-on: https://go-review.googlesource.com/c/go/+/254740
    
    
    Trust: Cherry Zhang <cherryyz@google.com>
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Go Bot <gobot@golang.org>
    Reviewed-by: default avatarAustin Clements <austin@google.com>
    a413908d
    History
    all: add GOOS=ios
    Cherry Zhang authored
    Introduce GOOS=ios for iOS systems. GOOS=ios matches "darwin"
    build tag, like GOOS=android matches "linux" and GOOS=illumos
    matches "solaris". Only ios/arm64 is supported (ios/amd64 is
    not).
    
    GOOS=ios and GOOS=darwin remain essentially the same at this
    point. They will diverge at later time, to differentiate macOS
    and iOS.
    
    Uses of GOOS=="darwin" are changed to (GOOS=="darwin" || GOOS=="ios"),
    except if it clearly means macOS (e.g. GOOS=="darwin" && GOARCH=="amd64"),
    it remains GOOS=="darwin".
    
    Updates #38485.
    
    Change-Id: I4faacdc1008f42434599efb3c3ad90763a83b67c
    Reviewed-on: https://go-review.googlesource.com/c/go/+/254740
    
    
    Trust: Cherry Zhang <cherryyz@google.com>
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Go Bot <gobot@golang.org>
    Reviewed-by: default avatarAustin Clements <austin@google.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.