Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

playground: regenerate with GopherJS 1.12-2 and Go 1.12.13#72

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dmitshur merged 4 commits intomasterfromupdate-latest
Dec 2, 2019

Conversation

@dmitshur
Copy link
Member

Also add support forsyscall/js and start using it in the initial snippet.

Make various modernizations/improvements to theupdate.sh script.

Fixes#69.

/cc@hajimehoshi@slimsag

(See individual commits with descriptive commit messages.)

Also modify the default "hello world" snippet to use it,since it's a more general API.Modernize update.sh slightly to handle variability inenvironments better.Updates#69
Previously, the script relied on GOROOT not being user-writable andfailed when that wasn't the case. This change makes it succeed inboth cases.Fixes#69
GopherJS 1.12-2 has added support for syscall/js package,so it should be available as part of imports.The syscall/js API is not included in the GOROOT/api/go1.*.txt filesat this time, and so it needs to be added to mkstdlib.go explicitly.Use the mkapi.go program to determine the syscall/js API.Regenerate zstdlib.go with the updated generator, using Go 1.12.13:go1.12.13 generate github.com/gopherjs/gopherjs.github.io/playground/internal/importsUpdatesgolang/go#27590
Done on darwin/amd64 environment.Regenerated with:go get golang.org/dl/go1.12.13go1.12.13 generate github.com/gopherjs/gopherjs.github.io/playground
@hajimehoshi
Copy link
Member

I'm not familiar with the playground, so I'll defer this to@slimsag

@dmitshur
Copy link
MemberAuthor

The playground doesn't really need much review (and we don't have much reviewer time available due togopherjs/gopherjs#894), it just needs to continue to work. I've tested and will ensure it does.

If someone spots a problem in one of the commits, let me know, otherwise I plan to merge later today.

@dmitshurdmitshur merged commitbc5ba08 intomasterDec 2, 2019
@dmitshurdmitshur deleted the update-latest branchDecember 2, 2019 02:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

playground: go generate fails when GOROOT is user-writeable.

3 participants

@dmitshur@hajimehoshi

[8]ページ先頭

©2009-2025 Movatter.jp