Skip to content

Standardize on a single GOOS/GOARCH and deprecate node-syscall module. #1111

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 23 commits into from
Apr 20, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6e7e549
Support building `syscall` and `syscall/js` as `js/wasm`.
nevkontakte Oct 2, 2021
60f28c2
Fix `os` package test failures when built as `js/wasm`.
nevkontakte Oct 2, 2021
d6aec8e
Make sure GopherJS tests work correctly under when build as `js/wasm`.
nevkontakte Oct 3, 2021
7f838ba
Support `net` package when building for the target `js/wasm`.
nevkontakte Oct 17, 2021
1142005
Support `net/http` package when building for `js/wasm` target.
nevkontakte Oct 23, 2021
0ad407b
Only exclude std packages from CI if they are actually failing any te…
nevkontakte Nov 11, 2021
4170cbb
Drop GopherJS Fetch API-based http client implementation.
nevkontakte Feb 26, 2022
cdf693a
Convert prelude browser fs API stub into ES5 and reduce its size.
nevkontakte Mar 7, 2022
41de9e3
Use GOOS=js and GOARCH=ecmascript to build user code by default.
nevkontakte Mar 13, 2022
49f2893
Disable CGo when loading packages.
nevkontakte Mar 19, 2022
b94c4eb
Respect --tags flag in `gopherjs run` subcommand.
nevkontakte Mar 19, 2022
7d56422
Hide legacy `node-syscall` support behind a build tag.
nevkontakte Mar 20, 2022
305cb64
Remove unnecessary package tweaks for `crypto/rand`.
nevkontakte Mar 20, 2022
de83fe4
Remove unnecessary overlays and package tweaks for `internal/poll`.
nevkontakte Mar 20, 2022
f7681d2
Remove unnecessary standard library overlays.
nevkontakte Mar 20, 2022
59958da
Refactor TestNativesDontImportExtraPackages.
nevkontakte Mar 20, 2022
9813bf2
Remove GOROOT and GOPATH fields from `build.Options`.
nevkontakte Mar 20, 2022
9511320
Set `runtime.GOOS` and `GOARCH` to values chosen for GopherJS.
nevkontakte Mar 20, 2022
50f5dca
Fix compiler panics when building on Windows.
nevkontakte Mar 20, 2022
208100a
Catch and ignore the error if `fs` module can't be required.
nevkontakte Mar 27, 2022
3dfe12d
Set up a simple smoke test job on Windows and Mac OS.
nevkontakte Mar 27, 2022
adcfc77
Apply suggestions from code review
nevkontakte Apr 19, 2022
fe1dd62
Update VFS and minified prelude.
nevkontakte Apr 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only exclude std packages from CI if they are actually failing any te…
…sts.

The removed packages either actually pass all tests, or skip
incompatible tests for `js/wasm` by default, which generally suits us
well.
  • Loading branch information
nevkontakte committed Apr 19, 2022
commit 0ad407ba77ff59837b9cdd44ac10b51ebfb89510
23 changes: 0 additions & 23 deletions .std_test_pkg_exclusions
Original file line number Diff line number Diff line change
@@ -1,44 +1,21 @@
crypto/tls
debug/gosym
embed/internal/embedtest
go/build
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/internal/srcimporter
go/types
internal/abi
internal/syscall/unix
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
internal/testenv
internal/testlog
internal/trace
internal/x/net/nettest
log/syslog
net/http/cgi
net/http/httptest
net/http/httptrace
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/rpc
net/smtp
os/exec
os/signal
os/signal/internal/pty
plugin
runtime
runtime/cgo
runtime/debug
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/pprof
runtime/pprof/internal/profile
runtime/race
runtime/trace
testing/internal/testdeps
unsafe