• Dmitri Shuralyov's avatar
    internal/syscall/unix: add build constraint to nonblocking_js.go · 257d6c48
    Dmitri Shuralyov authored
    The intention was for this file to be constrained to both js and wasm,
    but the build constraint was missing, causing it to be constrained only
    to js because of the _js suffix in the filename.
    
    Add a js,wasm build constraint. The js part is redundant, but specified
    anyway to make it more visible and consistent with other similar files.
    
    This issue was spotted while working on GopherJS, because it was causing
    a conflict there (both nonblocking.go and nonblocking_js.go files were
    being matched).
    
    Change-Id: Ifc6843269e1108fe61b1723be25a12254e806fd4
    Reviewed-on: https://go-review.googlesource.com/121275Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    257d6c48
Name
Last commit
Last update
..
empty.s Loading commit data...
getentropy_openbsd.go Loading commit data...
getrandom_linux.go Loading commit data...
getrandom_linux_386.go Loading commit data...
getrandom_linux_amd64.go Loading commit data...
getrandom_linux_arm.go Loading commit data...
getrandom_linux_generic.go Loading commit data...
getrandom_linux_mips64x.go Loading commit data...
getrandom_linux_mipsx.go Loading commit data...
getrandom_linux_ppc64x.go Loading commit data...
getrandom_linux_s390x.go Loading commit data...
nonblocking.go Loading commit data...
nonblocking_js.go Loading commit data...
nonblocking_nacl.go Loading commit data...