Thanks to visit codestin.com
Credit goes to github.com

Skip to content

README: document the current GOOS and GOARCH values #1180

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

Merged
merged 1 commit into from
Jan 3, 2023
Merged

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Jan 3, 2023

GopherJS 1.18 has standardized on a single value for GOOS and GOARCH in PR #1111. Update the README accordingly. (There has been agreement in issue #1169 that it's okay to be updating the top-level README for GopherJS 1.18-specific changes by now.)

Also reword advice in compatibility.md to be more general. The upstream Go WebAssembly port (i.e., GOOS=js GOARCH=wasm, and notably not wasm64) is limited to 4 GiB of linear memory (at least for now), it just happens to at this time use 64-bit variables for int/uint/uintptr types. So maybe it's not a great example to refer to. But a reminder that some types vary in size based on the architecture or implementation is probably worth including anyway.

@dmitshur dmitshur requested a review from nevkontakte January 3, 2023 03:40
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@dmitshur dmitshur enabled auto-merge (rebase) January 3, 2023 03:44
@dmitshur dmitshur disabled auto-merge January 3, 2023 04:04
GopherJS 1.18 has standardized on a single value for GOOS and GOARCH
in PR #1111. Update the README accordingly. (There has been agreement
in issue #1169 that it's okay to be updating the top-level README for
GopherJS 1.18-specific changes by now.)

Also reword advice in compatibility.md to be more general. The upstream
Go WebAssembly port (i.e., GOOS=js GOARCH=wasm, and notably not wasm64)
is limited to 4 GiB of linear memory, it just happens to at this time
use 64-bit variables for int/uint/uintptr types. So maybe it's not a
great example to refer to. But a reminder that some types vary in size
based on the architecture or implementation is probably worth including
anyway.
@github-actions
Copy link

github-actions bot commented Jan 3, 2023

Reference app: jQuery TodoMVC (acf500a6c32a83d8c4582d967b09a65febf0e120)

BRANCH ORIGINAL MINIFIED COMPRESSED (GZIP)
Pull request (README-os-arch) 2,883,176 bytes 1,898,583 bytes 381,391 bytes
Target branch (master) 0.00% increase (0 bytes) 0.00% increase (0 bytes) 0.00% increase (0 bytes)

#outputSize

@dmitshur dmitshur enabled auto-merge (rebase) January 3, 2023 05:53
Copy link
Member

@nevkontakte nevkontakte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dmitshur dmitshur merged commit 51a54c3 into master Jan 3, 2023
@nevkontakte nevkontakte deleted the README-os-arch branch January 3, 2023 12:57
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

Successfully merging this pull request may close these issues.

2 participants