Commit Graph

1795 Commits

Author SHA1 Message Date
Nuno Cruces
a0fbb18544 experimental: configure custom memory allocator (#2177)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2024-04-10 20:13:57 +09:00
Takeshi Yoneda
891e470b72 compiler(arm64): fixes overflow in huge executable relocations (#2181)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-04-10 09:59:35 +09:00
Anuraag (Rag) Agrawal
f31be308fa Fix WithSnapshotter doc to reference non-deprecated method (#2180)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2024-04-09 13:40:08 +09:00
Nuno Cruces
c6a907bb9d experimental: cleanup context keys (#2175)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2024-04-06 21:04:55 +09:00
Nuno Cruces
59faf80fcc threads: remove dead code (#2176)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2024-04-06 10:27:34 +09:00
Takeshi Yoneda
775330a1e5 Reverts the public Memory.Pages API (#2174)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-04-04 21:57:48 +09:00
Takeshi Yoneda
5fe44456ad Renames PageSize -> Pages (#2173)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-04-04 20:37:11 +09:00
Nuno Cruces
864a958c46 fix: workaround Memory.Size() overflow with 4GB memory (#2172)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2024-04-04 12:08:20 +01:00
Nuno Cruces
a030b61c62 fix: allow ReadByte/WriteByte to get last byte of 4GB memory (#2171)
Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2024-04-04 11:28:03 +01:00
Takeshi Yoneda
144d59f8d5 threads: stop explicit use of mmap for shared memory (#2170)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-04-04 13:30:15 +09:00
Milan Nikolic
15e1eb7209 docs: add image libraries to community users (#2168)
Signed-off-by: Milan Nikolic <gen2brain@gmail.com>
2024-04-02 09:54:40 +09:00
Takeshi Yoneda
4d6585d7da wazevo(arm64): adds assertion on too large relocations (#2167)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-04-01 14:42:09 +09:00
Ron Evans
22e3861510 internal: add tags and stubs so wazero can be compiled for MCU targets (#2166)
Signed-off-by: deadprogram <ron@hybridgroup.com>
2024-03-31 11:11:31 +02:00
Gram
9cdb0e32a2 ci: build wazero with TinyGo (#2163)
Signed-off-by: gram <git@orsinium.dev>
2024-03-28 13:20:08 +01:00
Gram
199c858f74 refactor reflect.SliceHeader uses to allow tinygo cross-compilation (#2161)
Signed-off-by: gram <git@orsinium.dev>
2024-03-28 12:16:35 +01:00
Gram
771a1e971a wasi: support building internal/sysfs with TinyGo (#2160)
Signed-off-by: gram <git@orsinium.dev>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Co-authored-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-28 11:05:24 +01:00
Edoardo Vacchi
c20cade078 wazevo(frontend): BCE should not propagate the memory address to unsealed blocks (#2164)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-27 08:19:41 +09:00
Gram
04309ab93a internal: skip platform-specific code when building with TinyGo (#2162)
Signed-off-by: gram <git@orsinium.dev>
2024-03-26 12:28:43 +01:00
Gram
39aa5e3367 compiler: use build tags instead of runtime.GOARCH to select ISA (#2159)
Signed-off-by: gram <git@orsinium.dev>
2024-03-26 09:16:00 +01:00
Takeshi Yoneda
253c0346e4 ci: removes unnecessary matrix.include (#2155)
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: Takeshi Yoneda <t.y.mathetake@gmail.com>
v1.7.0
2024-03-14 21:07:49 +09:00
Takeshi Yoneda
2bbe81a620 wazevo(frontend): allocation free initializeCurrentBlockKnownBounds (#2154)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-13 15:06:48 +09:00
Edoardo Vacchi
1b3f80b6ef ci: always use the same command to upload artifacts (#2153)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-12 17:33:10 +09:00
Takeshi Yoneda
b4f47d9695 fuzz: adds --no-trace-compares flag by default (#2152)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 16:57:00 +09:00
Takeshi Yoneda
291fdf8249 wazevo: fixes accidental heap allocation in VarLengthPool.Allocate (#2151)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 16:27:06 +09:00
Takeshi Yoneda
0255886e1c regalloc: fast check for preferred in findOrSpillAllocatable (#2150)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 13:53:59 +09:00
Takeshi Yoneda
5760022787 validation: handles edge case of unexpected else (#2148)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 12:46:44 +09:00
Takeshi Yoneda
a05f23b0ff wasi: uses the shared compilation cache in tests (#2149)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 12:46:09 +09:00
Takeshi Yoneda
9f56676383 testing: removes remaining gotip usage (#2147)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 11:50:45 +09:00
Takeshi Yoneda
c4532da719 testing: pass N, P into Run of hammer (#2146)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 10:34:42 +09:00
Takeshi Yoneda
4242b5e211 Update spectest v2 to latest (#2145)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-12 10:06:44 +09:00
Takeshi Yoneda
ac1961d932 wazevo: support for experimental snapshotting (#2144)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-11 14:40:10 +09:00
Edoardo Vacchi
472719d8aa ci: do not upload artifacts for pre-releases (#2143)
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
v1.7.0-pre.1
2024-03-09 15:28:20 +09:00
Edoardo Vacchi
b7b54d5967 wazevo(docs): optimizing compiler (#2065)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-09 09:39:11 +09:00
Gram
15cc0c59f3 Fix TestErrorBuilderGoRuntimeError (#2142) 2024-03-08 17:41:54 +09:00
Edoardo Vacchi
f2c9a986b6 chore: ensure all tinygo binaries have been built with 0.31.1 (#2140)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-08 14:57:01 +09:00
Takeshi Yoneda
9da95bd4b1 Fixes element instance for imported global func ref (#2141)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-08 13:19:15 +09:00
Takeshi Yoneda
ac052ab84a table: ensures references alive regardless of closures (#2139)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-08 13:05:05 +09:00
Takeshi Yoneda
60a670e3ce fuzz: updates fuzzing libs (#2138)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-08 10:27:53 +09:00
Takeshi Yoneda
1e22783607 validation: allows imported extern ref (#2137)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-08 10:03:32 +09:00
Takeshi Yoneda
464e6ce70d wazevo(amd64): fixes u32 i->f conv with higher bits garbage (#2136)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-08 09:05:03 +09:00
Takeshi Yoneda
687ca2f5ed threads: run ExampleCoreFeaturesThreads on both compiler/interpreter (#2135) 2024-03-07 20:53:02 +09:00
Takeshi Yoneda
f4b9c01856 fuzz: enables threads, fixes widening v128.load (#2134) 2024-03-07 18:00:53 +09:00
Takeshi Yoneda
3c7bc733c5 Nuke old singlepass compiler, enable optimizing compiler by default (#2130)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-07 15:26:45 +09:00
Edoardo Vacchi
43c66df44f ci: fix WiX toolset path for release (msi build) (#2132)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2024-03-07 14:31:54 +09:00
Anuraag (Rag) Agrawal
db6f522553 threads: fix example should lock when creating child module (#2131)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
2024-03-07 13:42:44 +09:00
Takeshi Yoneda
81d1f20428 wazevo: implements MutableGlobal.Set, fixes emscripten test (#2129)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-07 12:33:59 +09:00
Takeshi Yoneda
dfb2959d34 wazevo: mitigate closed module presence in stack unwinding (#2128)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-07 11:51:31 +09:00
Takeshi Yoneda
4d110241c9 wazevo: fixes FunctionDefinition index for listeners (#2126)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-06 16:36:15 +09:00
Takeshi Yoneda
d89236bc4d wazevo: handle empty host module (#2125)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-06 15:59:18 +09:00
Takeshi Yoneda
c692461032 wazevo(amd64): complete threads spec (#2124)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-03-06 15:35:34 +09:00