• 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
..
unix Loading commit data...
windows Loading commit data...