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

Cannot locate zgoos_darwin.go in dev version of Go #355

Closed
adg opened this issue Nov 26, 2015 · 3 comments
Closed

Cannot locate zgoos_darwin.go in dev version of Go #355

adg opened this issue Nov 26, 2015 · 3 comments

Comments

@adg
Copy link

adg commented Nov 26, 2015

$GOROOT/src/runtime/zgoos_darwin.go and the like have been moved to the runtime/internal/sys package, and so gopherjs prints this error:

$ gopherjs build -m app.go
stat /Users/adg/go/src/runtime/zgoos_darwin.go: no such file or directory

The workaround is to use Go 1.5. But this change will be in Go 1.6, so this issue should track the changes to gopherjs required to accommodate this change.

@dmitshur
Copy link
Member

Thanks for reporting this Andrew.

The way GopherJS has handled changes between Go releases in the past, when the new release gets close, there's usually a new branch (like go1.5, see #249 for example) that will have the fixes for that new release.

The current master branch definitely requires Go 1.5, so you'll need to use that.

Perhaps now's a good time to start the go1.6 branch and start testing for compatibility and fixing issues like this one. It's up to @neelance.

@dmitshur dmitshur added the go1.6 label Nov 27, 2015
neelance added a commit that referenced this issue Jan 25, 2016
neelance added a commit that referenced this issue Jan 25, 2016
neelance added a commit that referenced this issue Jan 25, 2016
neelance added a commit that referenced this issue Jan 25, 2016
neelance added a commit that referenced this issue Feb 6, 2016
dmitshur pushed a commit that referenced this issue Feb 6, 2016
@h8liu
Copy link

h8liu commented Feb 17, 2016

Is it ready yet?

@dmitshur
Copy link
Member

@h8liu Not yet. See the go1.6 branch for latest state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants