191 Commits

Author SHA1 Message Date
Valery Antopol
65cc2bcd73 fix u32 overflow 2023-02-08 15:17:44 +03:00
Valery Antopol
81f896f2cf add a non-default constructor of WasmBackend 2023-02-08 15:17:07 +03:00
Valery Antopol
17ca1030a1 use paster 1.0.9 2023-02-02 14:02:43 +03:00
Valery Antopol
0b6bac70b9 cleanup comments 2023-01-31 02:58:52 +03:00
Valery Antopol
af8550b9fa handle wasi errors in wasmtime 2023-01-31 02:56:28 +03:00
Valery Antopol
a59cadc636 fmt 2023-01-31 00:53:33 +03:00
Valery Antopol
f0f4670175 fix clippy warnings 2023-01-31 00:52:31 +03:00
Valery Antopol
b0e9737939 Fix style, add copyrights and some comments 2023-01-26 04:31:11 +03:00
Valery Antopol
147c943c3c Add basic documentation for the traits 2023-01-24 18:43:25 +03:00
Valery Antopol
a645a89670 fix warnings 2023-01-20 18:11:15 +03:00
Valery Antopol
d845567737 fmt 2023-01-20 16:49:03 +03:00
Valery Antopol
ee423405ba fix wasmer-backend build + use default backend from faas in repl 2023-01-20 16:46:03 +03:00
Valery Antopol
b3940bc316 marge with master 2023-01-20 16:21:59 +03:00
Valery Antopol
99602bb8cf remove js backend template 2023-01-20 15:45:59 +03:00
Valery Antopol
6f4ee5ae17 add default marine-core and marine-runtime + fmt 2023-01-20 15:22:31 +03:00
Valery Antopol
2c30c910c4 fix more warnings 2023-01-20 14:59:08 +03:00
Valery Antopol
ec25498be4 cargo fix wasmtime backend 2023-01-20 14:50:54 +03:00
Valery Antopol
2e7f01e207 fix warnings 2023-01-20 14:45:51 +03:00
Valery Antopol
fd39d7026f patrial cargo fix 2023-01-20 14:34:24 +03:00
Valery Antopol
397a22323e finalizing API, names, etc 2023-01-20 14:31:07 +03:00
Valery Antopol
4089d9d7b7 fisrt round of improving wasmtime error handlink completed 2023-01-18 20:13:36 +03:00
Valery Antopol
2378c7eafa wip 2023-01-18 15:08:17 +03:00
Valery Antopol
a350f8e852 Wasmer memory passing try 2023-01-17 13:22:10 +03:00
Valery Antopol
fd30b36b61 fmt 2023-01-16 14:55:17 +03:00
Valery Antopol
50ff2d1b54 get rid of edition = {workspace = true} 2023-01-16 14:55:01 +03:00
Valery Antopol
46637a9520 update comment/WasmBackend requirements 2023-01-16 13:35:29 +03:00
Valery Antopol
cb3c64ae8f Fill wasi for wasmtime, fix mutex issue 2023-01-16 13:19:05 +03:00
Valery Antopol
1ff6389d10 most of the wasmtime tests are passing, call_parameters one hangs 2023-01-12 04:24:38 +03:00
Valery Antopol
c1fc835069 wasmtime impl in progress 2023-01-12 00:22:10 +03:00
Valery Antopol
14fc4292a7 catching wasmtime impl state to wasmer impl state, still does not compile 2023-01-11 23:57:12 +03:00
Valery Antopol
e82c8bd927 wasmer backend almost works - only host imports and wasi tests fail, because of lack of access to memory 2023-01-11 23:08:55 +03:00
Valery Antopol
671fb8bb83 replace more rc with arc, fix wasmer-wasi compilation issue 2023-01-11 20:54:53 +03:00
Valery Antopol
fc924a4e8b Use only i32 instead of generic arguments for typed functions, looks like working 2023-01-11 17:00:52 +03:00
Valery Antopol
25d61fe88a WIP implementing typed func creation 2023-01-08 20:01:04 +03:00
Valery Antopol
83eb1555ce wasm 3.1 backend implementation some progress (2) + fmt 2023-01-05 19:27:56 +03:00
Valery Antopol
eda2878cb6 wasm 3.1 backend implementation some progress 2022-12-31 02:35:32 +03:00
Valery Antopol
faa8e0e0af fmt 2022-12-29 18:13:37 +03:00
Valery Antopol
99b4da7fac [wip] refactoring the refactoring: updating wasmer to 3.1.0, organizing traits and implementations into files 2022-12-29 17:51:12 +03:00
Valery Antopol
b00f666020 [wip] making all required structs threadsafe 2022-12-29 00:00:39 +03:00
Valery Antopol
e2522ba91d implemented all todo!() in wasmtime, trying to get it to work 2022-12-25 16:38:31 +03:00
Valery Antopol
c0e3a6c26c fmt 2022-12-21 15:54:53 +03:00
Valery Antopol
d36012d2e4 Wasmtime version builds (but has todo!() in it) 2022-12-21 15:54:35 +03:00
Valery Antopol
c6146eaaed finally wasmer tests are passing 2022-12-21 14:50:34 +03:00
Valery Antopol
d023bd9370 WIP just state stored 2022-12-20 23:52:57 +03:00
Valery Antopol
20d03317d8 get rid of Rc for Store, move interface-types deps to workspace 2022-12-13 00:51:15 +03:00
Valery Antopol
a022a30442
chore(master): release (#245) 2022-12-06 16:52:49 +03:00
Valery Antopol
30c6dc4de1
feat!: prohibit going out of service_dir in app-service (#244) 2022-12-06 16:28:00 +03:00
renovate[bot]
ee514fb8fc
chore(deps): update all non-major rust dependencies (#211)
* chore(deps): update all non-major rust dependencies

* fix build

* fmt

* update generated code in marine-js

* bump marine-runtime version

* update gitignore

* Revert "bump marine-runtime version"

This reverts commit 7cf9f0b6d489408d35b3f86807d9ad7684f0708a.

* bump versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-11-28 18:37:07 +03:00
Valery Antopol
546d7b43a6 more stores, impl functions for wasmtime 2022-10-31 03:39:42 +03:00
Valery Antopol
3e0a1318d6 switch do dyn ExportContext, get rid of some 'static requirements 2022-10-31 02:26:37 +03:00