Commit Graph

1515 Commits

Author SHA1 Message Date
Takeshi Yoneda
01dd74ce73 wazevo: adds support for call_indirect (#1632)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-16 13:07:13 +09:00
Takeshi Yoneda
dbdd3f5541 wazevo: adds support for host functions (#1630)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-15 12:00:36 +09:00
Philipp Gillé
84708fe4e6 Fix broken link in example README (#1629)
Signed-off-by: Philipp Gillé <philippgille@users.noreply.github.com>
2023-08-14 23:09:28 +01:00
Takeshi Yoneda
a9c5a44690 wazevo: adds support for imported memory (#1628)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-14 15:47:18 +09:00
Takeshi Yoneda
fa63fda1b9 wazevo: adds support for memory.grow,size instructions (#1627)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-14 13:24:56 +09:00
Takeshi Yoneda
653a884833 wazevo: adds support for globals (#1625)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-11 15:12:25 +09:00
Takeshi Yoneda
7c88d2a9d4 wazevo: adds support for load instructions (#1624)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-11 11:22:24 +09:00
Takeshi Yoneda
7c602ea1db emscripten: explicitly checks if an api.Function is not nil (#1623)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-10 08:35:59 +09:00
jerbob92
a2b6510ede Implement Emscripten jmp support in indirect function calls (invoke_xxx) (#1611)
Signed-off-by: Jeroen Bobbeldijk <jeroen@klippa.com>
2023-08-10 08:03:35 +09:00
Edoardo Vacchi
76dce033d3 Upgrade floor Go version to 1.19 everywhere. (#1622) 2023-08-10 06:09:16 +09:00
Nuno Cruces
1bd9a3c17b Use atomic.Uint64. (#1620)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-08-09 14:09:54 +01:00
Nuno Cruces
fa11db75a6 Use unix build constraint.
Now that we floor on Go 1.19, take advantage of the unix build constraint:
https://tip.golang.org/doc/go1.19#go-unix

Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-08-09 11:46:04 +01:00
Takeshi Yoneda
f740e28169 ci: adds wasip1 into make.check (#1619)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-09 17:23:59 +09:00
Takeshi Yoneda
37638a7b25 wazevo: adds support for calling imported functions (#1618)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-09 15:49:06 +09:00
Takeshi Yoneda
02900879bf wazevo: initial impl of the new optimizing backend (#1615)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-09 10:45:23 +09:00
Takeshi Yoneda
9bf8416626 ci: runs Standard Library Integration Tests on main (#1617)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-09 09:10:26 +09:00
Takeshi Yoneda
352b7e2644 ci: use the latest Go 1.21 (#1616)
Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
https://go.dev/blog/go1.21

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
v1.4.0
2023-08-09 09:01:25 +09:00
Crypt Keeper
009ee7056c Re-introduces internal fsapi.File with non-blocking methods (#1613)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-08-07 15:50:38 +08:00
Takeshi Yoneda
2922b0e63c Adds support for build on GOOS=js (#1614)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-08-07 14:59:12 +09:00
Edoardo Vacchi
edb7bc2b10 wasi: add more test cases to poll_oneoff, cleanup impl (#1612)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-08-05 15:22:15 +02:00
Nuno Cruces
90f58bce75 compiler: fix compiledModule leak (#1608)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
Co-authored-by: Achille Roussel <achille.roussel@gmail.com>
2023-08-02 09:14:49 +08:00
Crypt Keeper
2f2b6a9d2c sysfs: Makes ReadFS and AdaptFS embeddable (#1607)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-08-02 08:27:50 +08:00
Crypt Keeper
1f8c908f1c Exposes writeable filesystem as experimentalsys.FS (#1605)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-31 07:56:28 +08:00
Edoardo Vacchi
d88286ba63 sysfs: restore check for EINTR in poll test, fix Windows tests (#1604)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-31 06:47:47 +08:00
Crypt Keeper
66070781b1 Supports compilation with GOOS=plan9 (#1603)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-31 06:47:23 +08:00
Crypt Keeper
2382bbf730 sysfs: decouples FS and File from the syscall package (#1602)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-30 16:06:22 +08:00
Crypt Keeper
8d3874d3c8 fsapi: migrates PollRead to Poll with Pflag (#1599)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Co-authored-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-30 10:56:17 +08:00
Edoardo Vacchi
023a38349a sysfs: implements PollRead with poll instead of select (#1596)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-28 10:49:17 +02:00
Edoardo Vacchi
d5d7ac82f1 docs: update specs.md with sock_* (#1598) 2023-07-28 17:07:35 +09:00
Crypt Keeper
180ff682d9 sysfs: changes PollRead to accept int32 timeoutMillis (#1597)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Takeshi Yoneda <takeshi@tetrate.io>
2023-07-28 10:01:00 +08:00
Anuraag Agrawal
6b4328c66e Return err instead of nil in amd64 store impl (#1594)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-07-24 16:03:00 +09:00
Anuraag Agrawal
6c6a2848ab Fix grammar in comment about peeking (#1593)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-07-24 12:46:33 +09:00
Crypt Keeper
789a5333c7 docs: adds issue links on TinyGo TODO (#1590)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-23 14:45:44 +09:00
Shoki Hata
6ffb2d61dd docs: replace relative path (#1591)
Signed-off-by: Shoki Hata <syouki100241@gmail.com>
2023-07-22 10:54:42 -07:00
Crypt Keeper
fb6147ca94 Emulates AT_SYMLINK_NOFOLLOW instead of sometimes implementing it (#1588)
Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
Signed-off-by: Adrian Cole <adrian@tetrate.io>
v1.3.1
2023-07-22 08:03:47 +08:00
Crypt Keeper
a53861846a Tests with latest Go 1.21rc3 (#1589)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-21 14:53:55 +08:00
Crypt Keeper
b842d6cbfd fsapi: adds Oflag to decouple from syscall package (#1586)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-19 16:01:44 +08:00
Edoardo Vacchi
1e0c73d569 wasi: nonblocking I/O for sockets and pipes on Windows (#1579)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-19 07:30:06 +08:00
Edoardo Vacchi
1cdb72d431 fs: nonblocking writes should use syscall.Write (#1581)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-17 10:19:27 +02:00
Crypt Keeper
2f8dd23097 adds experimental sys.Errno to begin decoupling from the syscall package (#1582)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-17 08:13:29 +08:00
Crypt Keeper
1dafce0b2a sysfs: cleanup windows rename (#1584)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-16 07:57:05 +08:00
Alan Braithwaite
fda5d12f29 add runreveal to community page (#1577) 2023-07-11 13:46:13 +08:00
Crypt Keeper
b361183927 deps: updates 3rd party libs to latest (#1576)
Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
Signed-off-by: Adrian Cole <adrian@tetrate.io>
v1.3.0
2023-07-11 10:29:38 +08:00
Crypt Keeper
0300f4b3c1 experimental: adds close notification hook (#1574)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-11 09:27:43 +08:00
Crypt Keeper
326c267726 Exposes Module.IsClosed to prevent calling functions when closed (#1573)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Takeshi Yoneda <takeshi@tetrate.io>
2023-07-10 15:32:51 +08:00
Crypt Keeper
15fa5c4de5 Changes build to test go 1.21rc2 (#1571)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-10 13:39:37 +08:00
Anuraag Agrawal
86cf46d021 Fix drift in comment in mmap_other (#1572) 2023-07-10 13:22:59 +08:00
Crypt Keeper
6efcf25505 Exposes sys.Stat_t as a portable alternative to syscall.Stat_t (#1567)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-10 11:46:20 +08:00
Edoardo Vacchi
d3f09bdcff wasi: nonblocking pipes on Windows (#1570)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-07-10 06:50:26 +08:00
Crypt Keeper
0d0db0e12f Adds more links to rationale about start functions (#1569)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-07-07 16:27:39 +08:00