Commit Graph

1235 Commits

Author SHA1 Message Date
Crypt Keeper
1e0f88bc14 deps: upgrades to TinyGo v0.28.1 (#1512)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-06-12 14:21:00 +10:00
Achille
904e9a9972 site: add wasi-go to the list of community projects (#1511)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-06-10 11:05:17 +08:00
Achille
7d60e1a739 site: add wzprof to the list of community projects (#1510)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-06-10 09:02:48 +08:00
Edoardo Vacchi
390437e1fe Revert "wip"
This reverts commit 1588723735.
2023-06-09 15:23:25 +02:00
Edoardo Vacchi
1588723735 wip
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-06-09 15:21:32 +02:00
Nuno Cruces
8c7f97d39d compiler(amd64): eliminate a bounds check in memory copy (#1509)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-06-09 10:58:53 +10:00
Nuno Cruces
83ac0f6b87 compiler(amd64): generate trap exit code once (#1508)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-06-09 10:54:25 +10:00
Takeshi Yoneda
1e075f0d84 vs: fixes wasmedge version (#1507)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-06-07 10:47:19 +10:00
Nuno Cruces
8d8e452dc0 compiler(amd64): generate trap exit code once (#1505)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-06-06 09:41:27 +10:00
Edoardo Vacchi
1d22d264d0 wasi: try to make Test_Nonblock less flaky (#1506)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-06-06 08:04:39 +10:00
Anuraag Agrawal
62f8109101 compiler: fix compileMemoryAccessOffsetSetup comment (#1504)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-06-05 16:16:23 +10:00
Edoardo Vacchi
f2d8461a62 wasi: non-blocking i/o on files on *nix (#1502)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-06-03 07:33:19 +08:00
Edoardo Vacchi
97d0d70b73 wasi: add support for sockets (#1493)
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: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
Co-authored-by: Achille <achille.roussel@gmail.com>
Co-authored-by: Adrian Cole <adrian@tetrate.io>
v1.2.0
2023-06-02 20:45:42 +08:00
Crypt Keeper
e31856d360 updates external tool versions (#1498)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-06-02 15:53:29 +08:00
Chris O'Hara
50394cc1fa engine: call FunctionListener.Abort in correct order (#1501) 2023-06-01 19:53:04 -07:00
Crypt Keeper
51d0271755 removes wasmer-go from vs benchmarks (#1499)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-06-01 19:09:03 +08:00
Takeshi Yoneda
9aa8f4e0ae platform: removes unnecessary code (#1492)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-05-29 09:09:24 +10:00
Edoardo Vacchi
e987e69a82 wasi: move Readdir logics from fdReaddirFn to Readdir methods (#1483)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-23 10:18:27 -07:00
Takeshi Yoneda
4aca6fbd0e Updates Spectest to the latest (May 23, 2023) (#1490)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-05-23 15:09:36 +10:00
Takeshi Yoneda
50723a0fd2 Refactors spectest harness (#1489)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-05-23 09:59:49 +10:00
Takeshi Yoneda
256b7a4bf9 dwarf: ignores tombstone entries in inlined information (#1488)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-05-22 15:56:33 +10:00
Anuraag Agrawal
714368bcea Remove threads support (#1487)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-05-22 12:18:36 +10:00
Crypt Keeper
8c7e0caead updates benchmark library versions (#1486)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-05-20 06:41:02 +02:00
Achille
2b50c85e20 compiler: allow inlining of internal/asm package functions (#1484)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-20 05:48:08 +02:00
Edoardo Vacchi
5da6dff27d wasi: Move ReadDir out of the FileEntry structure. (#1482)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-19 16:03:28 +02:00
Achille
9780f0f4a0 compiler: zero-copy code assembly (#1481)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
2023-05-19 07:06:30 +02:00
Edoardo Vacchi
a8b4642ce4 compiler: fix benchmarks in compiler, engine; add to Makefile, update API calls (#1480)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-18 09:30:58 +02:00
Achille
1b35900911 linux: support using huge pages (#1475)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-17 11:14:31 -07:00
Edoardo Vacchi
ee7b95554a ci: extend pagefile size on Windows (#1478)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-17 15:11:37 +02:00
Crypt Keeper
34324031cb extracts FS interfaces into fsapi package and consolidates impls (#1477)
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-05-17 07:19:54 +03:00
Anuraag Agrawal
f2c8caaf92 Generically convert to string in hammer recovery (#1479)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-05-17 13:51:20 +10:00
Anuraag Agrawal
90eba1b81c Require max size for shared memory (#1473)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-05-16 16:14:13 +08:00
Crypt Keeper
41c4ed5acf Removes out-of-date TODOs in platform.File (#1474)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-05-16 16:00:11 +08:00
Anuraag Agrawal
bc96257575 Implement WebAssembly threads proposal with interpreter (#1460)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2023-05-16 12:22:17 +08:00
Edoardo Vacchi
cb06b7b779 platform: fix minor linting issue (#1471)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Adrian Cole <adrian@tetrate.io>
2023-05-16 12:06:29 +08:00
Crypt Keeper
11b346ed75 Removes AccessMode from platform.File (#1472)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-05-16 11:32:50 +08:00
Achille
1c2ca99834 wazero: add -count option to compile command (#1470)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-15 18:54:45 -07:00
Achille
9bbb9c871e compiler: compress code offsets (#1467)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-15 18:41:52 -07:00
Achille
2f31894f61 compiler: optimize struct layout to reduce memory footprint (#1469)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-15 11:16:37 -07:00
Achille
719f11861d compiler: optimize allocation of asm.Node slice (#1468)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-15 18:12:04 +10:00
Achille
d3efad1fc4 compiler: remove intermediary copy of compiled functions code (#1466)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
2023-05-14 23:22:16 -07:00
Crypt Keeper
2ad2921eed Separates fs.File from os.File implementations of platform.File (#1455)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-05-15 13:42:20 +08:00
Achille
ab116e9c21 compiler: reuse asm.Node slice collecting NOP instructions for source mapping (#1465)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-14 15:20:17 -07:00
Achille
9090f31713 asm: optimize node allocation (#1463)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-13 23:45:22 -07:00
Achille
b42ec37d0b wazero: allow cpu and memory profiling when compiling or running modules (#1462)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2023-05-13 23:23:57 -07:00
Nuno Cruces
4ceef7b245 memory: avoid integer overflow (#1459)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-05-12 14:53:00 +08:00
Crypt Keeper
cd5c9ed37c Clears O_CREATE when re-opening a file to set flags (#1458)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-05-12 14:35:17 +08:00
Julien Fabre
13e38966b6 Fix base rights for character devices (#1457)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Adrian Cole <adrian@tetrate.io>
2023-05-12 09:27:00 +08:00
Nuno Cruces
52b32e4872 compiler: avoid some unsafe.Pointers (#1456)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-05-12 08:04:36 +10:00
Takeshi Yoneda
80452a94c3 Bulk lazy initialization of FunctionDefinitions (#1425)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Co-authored-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-12 08:02:40 +10:00