Valery Antopol
597ef4f80d
fix(versions)!: enforce minor version bumps ( #400 )
...
* fix(versions)!: enforce major version bumps
* fix(versions)!: enforce major version bumps
2023-12-14 15:14:52 +03:00
Valery Antopol
662a49204f
feat!: add memory limiting ( #391 )
...
* memory limits iteration 1
* correct counting
* update to wasmtime 13.0.0
* wip stats recording
* adding memory limit tests
* fix build
* fix build
* fix build
* fix tests
* add configs
* update Cargo.lock
* self-review fixes
* self-review fixes, cleanup
* fix tests build
* fix tests, remove wee_alloc form lockfile
* fix build
* format tests
* pr fixes
* make tests more robust
* pr fixes
* Add OOM check into marine-runtime
* Use new error variant in tests
* add handy error message
* fix error msg
* fix tests
* check for OOM more precisely
* improve readability
* add "inifinity" memory limit, make memory limit mandatory, stop persisting allocation rejects
* add forgotten allocation stats clear
* pr fixes
* pr fixes
* use bytesize in tests
2023-12-13 19:51:58 +03:00
fluencebot
cec976de88
chore: release master ( #379 )
...
* chore: release master
* chore: Bump marine-js version to 0.8.0
2023-11-07 17:36:17 +03:00
Valery Antopol
8c217c7c3d
fix(versions)!: enforce minor version bumps ( #397 )
...
bump versions
2023-11-07 16:49:49 +03:00
Valery Antopol
a94494b042
feat!: propagate errors from linked modules ( #388 )
...
* propagate errors
* pregare for merge
* support new interface in js backend
* use wasmer-it from crates.io
* fix marine-js tests + update aquavm version for tests
2023-11-03 17:43:14 +03:00
renovate[bot]
44b8e96362
feat(deps): update rust crate anyhow to 1.0.75 ( #372 )
...
chore(deps): update rust crate anyhow to 1.0.75
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:50:28 +03:00
renovate[bot]
8a6035f2f1
chore(deps): update rust crate log to 0.4.20 ( #374 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:17:38 +03:00
renovate[bot]
e75dafe7c2
chore(deps): update rust crate paste to 1.0.14 ( #375 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:16:54 +03:00
Valery Antopol
550f7d3851
feat(marine-js): use wasmparser instead of walrus to parse module exports ( #359 )
...
* WIP
* WIP
* WIP
* refactor module passing soit does not take too much time
* WIP switched to wasmparser for ModuleInfo
* cleanup
* cleanup
* Fix clippy
2023-08-04 21:07:35 +03:00
fluencebot
6000feca71
chore: release master ( #337 )
...
* chore: release master
* chore: Regenerate Cargo.lock
* chore: Bump marine-js version to 0.5.0
2023-07-25 21:57:16 +03:00
Valery Antopol
a61ddfc404
feat(marine-js)!: replace old marine-js with common marine-runtime + backend traits impl for JS ( #332 )
...
* add js wasm backend crate + blank trait impls
* make wasmtime a default feature for runtime and core
* WIP: mock WASI, greeting almost works
* WIP: added @wasmer/wasi, moved some stuff to JsStore, implementing Caller
* finalize Caller
* remove old code
* changing js API + fmt
* update wasm-bindgen generated and patched code
* update call_module to throw error, fix non-logging tests
* add multi-module test + update js api
* fix last element getting
* refactor interface + pass envs
* get rid of make_*_result
* small refactor
* support passing log function
* get rid of some todos
* use String instead of Vec<u8> for wasi envs
* use Strings for wasi envs in marine js
* little fix
* self-review fixes, import ordering
* self-review fixes, import ordering
* make clippy happy + fmt
* self-review fixes
* self-review fixes
* self-review fixes
* revert example artifact change
* pr fixes
* add __wbg_adapter_N updating code
* add all-types test
* fix build
* update marine_js.js
* Fix I64 handling
* pr fixes
* fix import order
* add copyrights
* Add comments, slightly beautify code
* fmt
* make clippy happy
* update js interface
* split function interface, improve naming
* update Cargo.lock
* update to new wasm-backend traits
* wip
* js glue code update
* improve comment
* use typed index collection
* Add more comments
* Add more comments
* Fix warnings
* pr fixes
* pr fixes
2023-07-25 19:49:55 +03:00