• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...