• Russ Cox's avatar
    build: add build comments to core packages · 2715956f
    Russ Cox authored
    The go/build package already recognizes
    system-specific file names like
    
            mycode_darwin.go
            mycode_darwin_386.go
            mycode_386.s
    
    However, it is also common to write files that
    apply to multiple architectures, so a recent CL added
    to go/build the ability to process comments
    listing a set of conditions for building.  For example:
    
            // +build darwin freebsd openbsd/386
    
    says that this file should be compiled only on
    OS X, FreeBSD, or 32-bit x86 OpenBSD systems.
    
    These conventions are not yet documented
    (hence this long CL description).
    
    This CL adds build comments to the multi-system
    files in the core library, a step toward making it
    possible to use go/build to build them.
    
    With this change go/build can handle crypto/rand,
    exec, net, path/filepath, os/user, and time.
    
    os and syscall need additional adjustments.
    
    R=golang-dev, r, gri, r, gustavo
    CC=golang-dev
    https://golang.org/cl/5011046
    2715956f
Name
Last commit
Last update
..
aes Loading commit data...
blowfish Loading commit data...
cast5 Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
md4 Loading commit data...
md5 Loading commit data...
ocsp Loading commit data...
openpgp Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
ripemd160 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
twofish Loading commit data...
x509 Loading commit data...
xtea Loading commit data...
Makefile Loading commit data...
crypto.go Loading commit data...