Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
PhilipMantrov opened this issue Jul 25, 2018 · 4 comments
Closed
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Milestone

Comments

@PhilipMantrov
Copy link

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

@andybons
Copy link
Member

@neelance @bradfitz

@andybons andybons added OS-Windows NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jul 25, 2018
@andybons andybons added this to the Unplanned milestone Jul 25, 2018
@andybons andybons changed the title build constraints exclude all Go files in C:\Go\src\syscall\js syscall/js: build constraints exclude all Go files in C:\Go\src\syscall\js Jul 25, 2018
@neelance
Copy link
Member

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

@PhilipMantrov
Copy link
Author

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

@andybons
Copy link
Member

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Projects
None yet
Development

No branches or pull requests

4 participants