Go: syscall/js: build constraints exclude all Go files in C:\Go\src\syscall\js

Created on 25 Jul 2018  路  4Comments  路  Source: golang/go

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.11.beta2

Does this issue reproduce with the latest release?

On beta, yes

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOOS=windows

What did you do?

just import "syscall/js"

What did you expect to see?

No errors at all

What did you see instead?

build constraints exclude all Go files in C:\Go\src\syscall\js

Probably this error only appears on 1.11.beta2

FrozenDueToAge NeedsInvestigation OS-Windows

Most helpful comment

@PhilipMantrov it's not a stupid issue. :)

if you see opportunity for an improvement in documentation please feel free to send a change to make it more clear.

All 4 comments

@neelance @bradfitz

What exactly did you do? Did you specify GOOS=js and GOARCH=wasm?

@neelance
Oh, forgot about this, thx and sorry for stupid issue.

@PhilipMantrov it's not a stupid issue. :)

if you see opportunity for an improvement in documentation please feel free to send a change to make it more clear.

Was this page helpful?
0 / 5 - 0 ratings