1704 Commits
Author SHA1 Message Date
Vova c8337c44f8 Align opcodes 2021-11-01 13:19:59 +02:00
Vova 4916bc2065 API to handle custom sections. Fix #284 2021-10-29 23:39:14 +03:00
Vova 5deaf9306f Merge branch 'main' of https://github.com/wasm3/wasm3 2021-10-29 20:40:12 +03:00
Vova e247a4b4a4 Fix division by zero warning on FreeBSD libc. Closes #244 2021-10-29 20:39:48 +03:00
yonihemi 1d3cd80afa Allow passing custom UVWASI init options (#273) 2021-10-29 20:35:21 +03:00
skrphv 1d440e53a5 Fix for issue281 version 2 (#283)
* fix for issue 281

* Fixed recursive implicit `start` function calling; Moved checking and call `start` function from `m3_FindFunction` to `m3_Call*`

* Update: `start` function is clearing only after successful call

* minor changes

* fixed wrong `i_module->startFunction` checking
2021-10-29 20:33:11 +03:00
Volodymyr Shymanskyy 1f2e49251a Update Demos.md 2021-10-29 16:48:59 +03:00
Volodymyr Shymanskyy bf2730ec4f Update README.md 2021-10-29 16:34:45 +03:00
Vova c9e72c48d2 Fix #266 2021-10-29 16:10:28 +03:00
Vova a25465567c Fix #277 2021-10-29 15:36:08 +03:00
Kilian 516ea997b0 Fix mistake in Readme (#275) 2021-10-07 01:34:23 +03:00
Vova 7f2885c0a2 Add d_m3EnableWasiTracing support for MetaWASI 2021-10-05 17:54:54 +03:00
Vova 6ec10cfc8e Cleanup 2021-10-05 15:07:08 +03:00
Vova 23ab0983e9 WASI updates 2021-10-05 14:42:50 +03:00
Vova 05811300d3 Memory allocation tracing 2021-10-05 14:42:25 +03:00
skrphv 8850f91c46 In cpp wrapper: added saving module raw data to module class (#272) 2021-08-09 22:13:13 +03:00
Moritz Allmaras 788c49146c Add specialization for call with void return (#257) 2021-07-06 13:28:25 +03:00
Volodymyr Shymanskyy 05ec815fce Update README.md 2021-06-17 16:15:28 +03:00
Volodymyr Shymanskyy d8a3a1bf90 Update Cookbook.md 2021-06-10 16:44:36 +03:00
Vova c77c58f037 Improve Intel C Compiler support 2021-06-09 22:57:02 +03:00
Jakub Konka 70706ffb5b Add minimal build.zig build script (#247)
* Add minimal build.zig build script

The minimal `build.zig` script effectively can act as a (nicer?)
alternative to CMake; however, it is minimal in the sense, it currently
only includes the necessary ingredients to build `wasm3` with Zig
as the build system. As an added bonus though, you get the full
cross-compilation power of Zig for free.

Example invocation to build for the host:

```
zig build
```

To target `wasm32-wasi`:

```
zig build -Dtarget=wasm32-wasi
```

To target `aarch64-macos` from *anywhere*:

```
zig build -Dtarget=aarch64-macos
```

* Include Zig in build instructions
2021-06-09 09:26:42 +03:00
Vova cad20bb192 Improve cross-compilation and Big-Endian systems support 2021-06-07 23:52:31 +03:00
Volodymyr Shymanskyy 8a77fc5622 Merge branch 'main' of https://github.com/wasm3/wasm3 into main 2021-06-03 19:54:46 +03:00
Volodymyr Shymanskyy e13f28507c Fix ESP32 WASI example 2021-06-03 19:54:40 +03:00
Max Graey 7539581eb5 Use M3_ prefix for likely/unlikely. Add likely in MemCopy/MemFill functions (#242)
* use prefix for likely/unlikely. Add likely for MemCopy/MemFill

* more
2021-06-03 14:39:18 +03:00
Volodymyr Shymanskyy 6b8bcb1e07 Fix build
publish / wasm3-strace-win-x64 (push) Canceled after 0s
publish / wasm3-win-x86 (push) Canceled after 0s
publish / wasm3-win-x64 (push) Canceled after 0s
publish / wasm3-linux-x64 (push) Canceled after 0s
publish / wasm3-cosmopolitan (push) Canceled after 0s
publish / wasm3-wasi (push) Canceled after 0s
publish / wasm3-android-coremark (push) Canceled after 0s
tests / linux-clang-no-uvwasi (push) Canceled after 0s
tests / linux-clang-no-uvwasi-debug (push) Canceled after 0s
tests / linux-clang-x86 (push) Canceled after 0s
tests / linux-clang (push) Canceled after 0s
tests / linux-gcc-no-uvwasi (push) Canceled after 0s
tests / linux-gcc-debug (push) Canceled after 0s
tests / linux-gcc (push) Canceled after 0s
tests / linux-alpine (push) Canceled after 0s
tests / macos-no-uvwasi (push) Canceled after 0s
tests / macos-uvwasi (push) Canceled after 0s
tests / windows-clang-x86-no-uvwasi (push) Canceled after 0s
tests / windows-msvc-x86-no-uvwasi (push) Canceled after 0s
tests / windows-clang-x64-no-uvwasi (push) Canceled after 0s
tests / windows-msvc-x64-no-uvwasi (push) Canceled after 0s
tests / windows-clang-x86 (push) Canceled after 0s
tests / windows-msvc-x86 (push) Canceled after 0s
tests / windows-clang-x64 (push) Canceled after 0s
tests / windows-msvc-x64 (push) Canceled after 0s
tests / wasi (push) Canceled after 0s
tests / ios (push) Canceled after 0s
tests / android (push) Canceled after 0s
tests / python (push) Canceled after 0s
tests / cosmopolitan (push) Canceled after 0s
tests / cross-qemu-aarch64 (u64 slots) (push) Canceled after 0s
tests / cross-qemu-aarch64 (push) Canceled after 0s
tests / cross-qemu-alpha (push) Canceled after 0s
tests / cross-qemu-arm (u64 slots) (push) Canceled after 0s
tests / cross-qemu-arm (push) Canceled after 0s
tests / cross-qemu-armhf (push) Canceled after 0s
tests / cross-qemu-mips (push) Canceled after 0s
tests / cross-qemu-mips64 (push) Canceled after 0s
tests / cross-qemu-mips64el (push) Canceled after 0s
tests / cross-qemu-mipsel (push) Canceled after 0s
tests / cross-qemu-ppc (u64 slots) (push) Canceled after 0s
tests / cross-qemu-ppc (push) Canceled after 0s
tests / cross-qemu-ppc64 (u64 slots) (push) Canceled after 0s
tests / cross-qemu-ppc64 (push) Canceled after 0s
tests / cross-qemu-riscv64 (push) Canceled after 0s
tests / cross-qemu-s390x (push) Canceled after 0s
tests / cross-qemu-sparc64 (push) Canceled after 0s
tests / platformio (push) Canceled after 0s
tests / platformio-arm (push) Canceled after 0s
tests / platformio-riscv (push) Canceled after 0s
tests / particle (push) Canceled after 0s
tests / esp32-idf (push) Canceled after 0s
tests / cpp (push) Canceled after 0s
tests / maintenance (build as C++) (push) Canceled after 0s
tests / maintenance (debug logs) (push) Canceled after 0s
tests / maintenance (preprocess ops) (push) Canceled after 0s
tests / spellcheck (push) Canceled after 0s
v0.5.0
2021-06-02 13:40:14 +03:00
Volodymyr Shymanskyy af979c81fb Fix build 2021-06-02 10:30:56 +03:00
Volodymyr Shymanskyy 85d7064359 Merge branch 'main' of https://github.com/wasm3/wasm3 into main 2021-06-02 09:35:16 +03:00
Volodymyr Shymanskyy 54e1422767 Align main and extensions branches 2021-06-02 09:34:50 +03:00
Volodymyr Shymanskyy f81f4da5a8 Update README.md 2021-06-01 22:38:18 +03:00
Volodymyr Shymanskyy 3c1909cfa7 Force CMake version 2021-06-01 22:10:05 +03:00
Volodymyr Shymanskyy 067261d490 Add m3_CompileModule 2021-06-01 22:03:33 +03:00
Volodymyr Shymanskyy 9b6d0c9637 Update CI 2021-06-01 19:39:47 +03:00
Volodymyr Shymanskyy aca9b24219 Update CI 2021-06-01 19:06:32 +03:00
Volodymyr Shymanskyy cc7bb900c9 Update CI
[skip ci]
2021-06-01 19:02:21 +03:00
Volodymyr Shymanskyy 7a40d0590f Update CI workflows 2021-06-01 18:45:58 +03:00
Volodymyr Shymanskyy 616b431421 Update CI workflows 2021-06-01 16:27:45 +03:00
Volodymyr Shymanskyy c1ce0e352e Try fixing Android CI 2021-06-01 15:22:39 +03:00
Volodymyr Shymanskyy 850cc5be5c Set cmake version for Android CI 2021-06-01 15:08:59 +03:00
Volodymyr Shymanskyy ac13c55d2d Try Gradle 6.8.3 2021-06-01 14:50:14 +03:00
Volodymyr Shymanskyy 5967e82431 Update Android tools versions 2021-06-01 14:42:07 +03:00
Volodymyr Shymanskyy 2a3775cf3b Revert d_m3MaxConstantTableSize increase + alternative fix of #232 2021-06-01 14:34:12 +03:00
Volodymyr Shymanskyy 0f74cbb8bf Update Demos. Closes #240 2021-06-01 14:33:08 +03:00
Volodymyr Shymanskyy f6ea73a6eb Update tests.yml 2021-05-30 22:12:16 +03:00
Vova b20f538e29 Cleanup 2021-05-29 00:37:26 +03:00
Vova 3a81be8fcf Merge branch 'main' of https://github.com/wasm3/wasm3 2021-05-29 00:07:01 +03:00
Vova 4d7a8f4f6b Cleanup 2021-05-29 00:06:30 +03:00
Volodymyr Shymanskyy 856696f9a2 Update README.md 2021-05-28 23:08:42 +03:00
Vova 420e884e26 Fix #232 2021-05-28 21:54:47 +03:00
Vova 4ad14cc65d Fix #231 2021-05-27 14:13:04 +03:00