421 Commits

Author SHA1 Message Date
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
b113bbb434 try embed Rc<RefCell<Store>> everywhere, without success 2022-10-31 14:47:52 +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
Valery Antopol
a8f5545edf wip: intoduce Store, start adding it to signatures, update wasmer backend so it compiles and passes tests 2022-10-31 01:03:29 +03:00
Valery Antopol
b51f62a2b0 remove unused code 2022-10-28 05:36:47 +03:00
Valery Antopol
2d7d78e392 start implementing wasmtime backend + simplify wasm traits a little bit 2022-10-28 05:31:54 +03:00
Valery Antopol
a1cb2085d6 add skeleton of js wasm backend for marine 2022-10-28 02:49:59 +03:00
Valery Antopol
4646d9cca5 move import traits to a separate file 2022-10-25 05:11:36 +03:00
Valery Antopol
6e3ba60e6d refactor short type names to long names, group types 2022-10-24 17:27:34 +03:00
Valery Antopol
5fe5d2aeb0 Revert "wip"
This reverts commit d9d6b39c56e02d7370dc46773d8e151ac24d3178.
2022-10-24 17:12:17 +03:00
Valery Antopol
50e438c051 revert import_object change 2022-10-24 17:12:09 +03:00
Valery Antopol
d765d81fdc wip 2022-10-07 18:24:03 +03:00
Valery Antopol
d9d6b39c56 wip 2022-09-30 17:20:28 +03:00
Valery Antopol
6834c3fef0 fix build with all features 2022-09-27 17:02:49 +03:00
Valery Antopol
4cd6abef1d fmt 2022-09-27 16:53:00 +03:00
Valery Antopol
c9fcf7fe90 fix cli build 2022-09-27 16:49:53 +03:00
Valery Antopol
1b546537f3 marine-core tests are passing 2022-09-27 16:43:03 +03:00
Valery Antopol
cde9b8f382 marine-runtime tests passing 2022-09-27 16:32:59 +03:00
Valery Antopol
40cb5f3867 reach successful compilation 2022-09-27 14:32:00 +03:00
Valery Antopol
ae146cf292 fix something 2022-09-27 13:32:57 +03:00
Valery Antopol
c28f2d4d90 almost fixed build 2022-09-21 03:37:09 +03:00
Valery Antopol
79d4e5f3fa Merge branch 'master' into marine-web-milestone2
# Conflicts:
#	Cargo.lock
#	core/Cargo.toml
#	core/src/config.rs
#	core/src/host_imports/imports.rs
#	core/src/marine_core.rs
#	core/src/module/marine_module.rs
#	core/src/module/mod.rs
#	core/tests/greeting.rs
#	core/tests/records.rs
#	core/tests/redis_sqlite.rs
#	crates/fluence-app-service/src/config.rs
#	crates/fluence-app-service/src/raw_toml_config.rs
#	crates/fluence-app-service/src/service.rs
#	crates/it-parser/Cargo.toml
#	crates/wasmer-backend/src/memory.rs
#	crates/wasmer-backend/src/memory_access.rs
#	fluence-app-service/Cargo.toml
#	fluence-faas/tests/records.rs
#	marine/Cargo.toml
#	marine/src/config/marine_config.rs
#	marine/src/config/to_marine_config.rs
#	marine/src/host_imports/call_parameters.rs
#	marine/src/host_imports/logger/log_utf8_string_impl.rs
#	marine/src/host_imports/mounted_binaries.rs
#	marine/src/marine.rs
#	marine/tests/arguments_passing.rs
#	marine/tests/arrays_passing.rs
#	marine/tests/call_parameters.rs
#	marine/tests/greeting.rs
2022-09-20 01:52:16 +03:00
renovate[bot]
809f5df12d
Update all non-major JS dependencies (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 20:15:57 +03:00
renovate[bot]
651c030382
Update dependency @types/node to v16 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 20:03:09 +03:00
renovate[bot]
82177a0f0b
chore(build): pin JS dev dependencies (#188) 2022-09-19 19:27:42 +03:00
Valery Antopol
fd47800cca
chore(build): fix clippy warnings (#213) 2022-09-19 19:13:38 +03:00
Valery Antopol
068dab124c
chore(CI): add rust-toolchain file, use better CI actions for rust (#214) 2022-09-16 16:10:02 +03:00
renovate[bot]
684bf7cb38
Update Rust crate semver to v1 (#198)
* Update Rust crate semver to v1

* bump all the deps

* update wasmer-it and fix build

* bump more versions + fix marine-js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
v0.22.1
2022-09-13 16:25:11 +03:00
Valery Antopol
853bc595ec
fix!: bump minor versions where it was required in #189 (#212)
* fix!: bump minor versions where it was required in #189

* update marine-js build
v0.22.0
2022-09-12 16:55:33 +03:00