Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental: Add interpreter support for Wasmer #4515

Merged
merged 113 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 104 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
800adc0
Refactored store
syrusakbary Feb 9, 2024
3c2172e
Fix stores in JS/JSC
syrusakbary Feb 9, 2024
16818c2
Fix engine reference
syrusakbary Feb 9, 2024
9c5412e
Added AsEngineRef to the backend store
syrusakbary Feb 9, 2024
021764d
Fix JSC
syrusakbary Feb 9, 2024
5053e4f
Removed unused functions
syrusakbary Feb 9, 2024
4a0bc39
Move sys vm into it’s own module. Improved externs
syrusakbary Feb 10, 2024
27ae34d
Added maybe_as_store to the Store(AsEngineRef) for wasm-c-api compati…
syrusakbary Feb 10, 2024
fff1b78
Removed unnecessary dobule error formatting
syrusakbary Feb 10, 2024
a9a83c1
Got initial implementation of wamr working
syrusakbary Feb 15, 2024
3ebdee1
Trying to improve a bit the code
syrusakbary Feb 29, 2024
14bc922
Added CMakeLists
syrusakbary Mar 7, 2024
a9b36f3
Fix
syrusakbary Mar 7, 2024
bd6ee49
Push wasm.h (delete me after)
syrusakbary Mar 7, 2024
b43925b
fix: remove unused imports
xdoardo Mar 14, 2024
ac84bbc
feat: `valtype_to_type` for more value types
xdoardo Mar 14, 2024
384fdc4
feat: implement `to extern` for more kinds
xdoardo Mar 14, 2024
3b79c4d
feat: add `allow(...)` in `c_api` module
xdoardo Mar 14, 2024
921dafe
feat: initial port of `memory`
xdoardo Mar 14, 2024
2e231b5
fix: minor changes, remove prints
xdoardo Mar 14, 2024
a009c2c
feat: implement `ty` for `Table`
xdoardo Mar 14, 2024
844f9e7
feat: implement `call` for `TypedFunction`
xdoardo Mar 14, 2024
1c330fe
feat: implement callbacks for typed funcs
xdoardo Mar 14, 2024
d1bdecd
fix: fmt + lint
xdoardo Mar 18, 2024
98e91bf
fix: use git's submodule instead of manual clone
xdoardo Mar 18, 2024
5495003
fix: remove unused requirement from CMakeLists
xdoardo Mar 18, 2024
ef29757
fix: pull submodule in build script
xdoardo Mar 18, 2024
7413cc1
fix: allow unused
xdoardo Mar 20, 2024
500f234
fix: remove dependency on wat2wasm
xdoardo Mar 20, 2024
8ee56d8
feat: implement new, get and set for globals
xdoardo Mar 21, 2024
4a5e536
feat: implement memory and memory_view
xdoardo Mar 21, 2024
f956017
feat: implement table functions
xdoardo Mar 21, 2024
3e61a12
feat: implement missing function branches
xdoardo Mar 21, 2024
89a4f6e
fix: feature-gate build script
xdoardo Mar 21, 2024
9a6ef52
continue
xdoardo Mar 22, 2024
27892bd
use Trap for c_api callbacks
xdoardo Mar 22, 2024
71102fa
c_api::Trap: deserialize_from_wasm_trap
xdoardo Mar 22, 2024
5287981
[skip ci] cont
xdoardo Mar 22, 2024
1a2411e
Set trap on the format they want
syrusakbary Mar 22, 2024
e8da2a6
Extra comment
syrusakbary Mar 22, 2024
bac9f81
[skip ci] pass user traps
xdoardo Mar 22, 2024
9073a69
[skip ci] memory & functions
xdoardo Mar 24, 2024
da1a38e
[skip ci] skip generic memory test for `wasm-c-api`
xdoardo Mar 24, 2024
474e86b
[skip ci] implement missing memory functions
xdoardo Mar 24, 2024
fba9ada
[skip ci] save memory size (in pages) in `MemoryView`
xdoardo Mar 24, 2024
da352ce
[skip ci] revert to old attr and skip `wasm-c-api`
xdoardo Mar 24, 2024
b680dcb
[skip ci] ignore `memory.grow` calls for "wasm-c-api"
xdoardo Mar 25, 2024
1e62816
Merge remote-tracking branch 'origin/main' into wamr
xdoardo May 24, 2024
90e0564
fix(api): change mode of lib.rs
xdoardo May 24, 2024
07d1d45
fix(api): Re-set sys as default feature
xdoardo May 24, 2024
a6456cb
Merge remote-tracking branch 'origin/main' into wamr
xdoardo May 24, 2024
a60fc94
fix(api): Add ToExtern for `jsc`
xdoardo May 24, 2024
19e6a70
fix(api): Add ToExtern for `js`
xdoardo May 24, 2024
ae803f6
chore(api): Make linter happy
xdoardo May 24, 2024
b48dd87
Use wamr from main branch
xdoardo May 27, 2024
425c2cb
feat(api): Update WAMR
xdoardo May 27, 2024
f2148f4
feat: Add top level feature for the CLI
xdoardo May 27, 2024
e370b08
fix(api/interpreter): make linter happy
xdoardo May 27, 2024
5ea85f5
fix(api/ci): universal_test -> test
xdoardo May 27, 2024
0f4b827
feat(cli): Initial support for WAMR
xdoardo May 28, 2024
f2ec6e6
feat(api/interpreter): make functions, globals and tables externals s…
xdoardo May 30, 2024
24b14c2
chore(api/interpreter): formatting and minor changes
xdoardo May 30, 2024
394d30d
feat(api/interpreter): Embed the store in a module handle and pass it…
xdoardo May 30, 2024
0db2f83
feat(api/interpreter): Small fixes
xdoardo Jun 3, 2024
48dee36
feat(api/interpreter): Change the default sharedness of memory
xdoardo Jun 3, 2024
4eec88a
feat(c-api): Initial interpreter support
xdoardo Jun 3, 2024
ceb8cc6
feat(cli/interpreter): Add interpreter info in version
xdoardo Jun 3, 2024
9f9b3cc
fix(wasmer-c-api): Remove referencese to wamr from the wasmer-c-api c…
xdoardo Jun 5, 2024
8345717
feat(api/interpreter/wamr): Compile with debinfo if build type is debug
xdoardo Jun 6, 2024
b63eaa5
feat(wasmer-swift): Initial commit
xdoardo Jun 6, 2024
9e7ff6c
chore(api/wamr): Make linter happy
xdoardo Jun 6, 2024
c2c7a77
fix(wasmer-swift): Remove env-logger dependency
xdoardo Jun 6, 2024
286f679
fix: Exclude `wasmer-swift` from linting + various config fixes
xdoardo Jun 7, 2024
4b59f93
fix: Add wasmer-swift to excluded packages to test
xdoardo Jun 7, 2024
2bad5c3
fix(cli): Remove feature `wasm-c-api` in favour of feature `wamr` only
xdoardo Jun 7, 2024
19c9797
fix(wasmer-swift): Remove dependency on `wasmer-registry`
xdoardo Jun 7, 2024
430acf5
feat(interpreter/wamr): Use `wamr` flag as a "standalone" backend
xdoardo Jun 7, 2024
a25028f
feat(interpreter/wamr): Use `wamr` flag as a "standalone" backend
xdoardo Jun 7, 2024
6423ea9
Merge branch 'main' into wamr
xdoardo Jun 7, 2024
3370740
chore(cli): Make linter happy + small change
xdoardo Jun 7, 2024
e090bcb
fix(wasmer-swift): Remove unused dependencies
xdoardo Jun 7, 2024
80ef7c9
chore(wasmer-swift): Make linter happy
xdoardo Jun 7, 2024
522b311
fix(interpreter/wamr): Instantiate over concrete type, not reference
xdoardo Jun 10, 2024
0bf3305
Merge branch 'main' into wamr
xdoardo Jun 10, 2024
5d7fe11
fix(interpreter/wamr): Revert previous changes
xdoardo Jun 10, 2024
f18fd4e
feat(interpreter/wamr): First iteration of CI tests
xdoardo Jun 10, 2024
fadd27d
chore: Make linter happy
xdoardo Jun 10, 2024
61162ea
chore(api): Remove unused `raise` function
xdoardo Jun 11, 2024
266ce28
feat(api/interpreter): small cleanup and message amelioration
xdoardo Jun 13, 2024
a91e02c
feat(wamr/tests): Small changes to CLI CI tests
xdoardo Jun 13, 2024
8ab5cff
fix(interpreter/ci): Further ameliorations to CI tests
xdoardo Jun 14, 2024
63319f6
feat(interpreter): Update the wamr ci tests to run only relevant tests
xdoardo Jun 14, 2024
357c713
fix(interpreter/ci): Restore use of stdout in `wasi_runner_on_disk`
xdoardo Jun 14, 2024
b2ad488
fix(interpreter/ci): Remove unused imports
xdoardo Jun 14, 2024
1339fe7
Merge branch 'main' into wamr
xdoardo Jun 14, 2024
59140df
chore(wasmer-swift): Bump `virtual-fs` version
xdoardo Jun 14, 2024
121bf7a
feat(docs): Add WAMR to docs
xdoardo Jun 14, 2024
491ac28
fix(docs): Minor changes to api crate README
xdoardo Jun 14, 2024
6ef8849
feat(docs): More info about the WAMR backend
xdoardo Jun 14, 2024
9cc0fd3
feat(wamr/test): Add new tests to wasmer (api) crate
xdoardo Jul 15, 2024
8046a87
Fix closures in WAMR
syrusakbary Jul 15, 2024
7a58cb7
fix(api/interpreter): Use handle to retrieve function environment + r…
xdoardo Aug 13, 2024
21c6112
fix(api/tests): Minor changes
xdoardo Aug 13, 2024
1ee96a2
fix(api/interpreter): Disable HW bounds checks and minor changes
xdoardo Aug 21, 2024
8cc9947
Merge branch 'release-5.0' into wamr
xdoardo Sep 23, 2024
b080219
fix(wamr): Remove leftover `WASMER_WAMR` constant
xdoardo Sep 23, 2024
0885877
fix(swift): Use correct version of `virtual-fs`
xdoardo Sep 23, 2024
9e03ad7
fix(api): Minor fix
xdoardo Sep 23, 2024
b6aaf77
Update Cargo.lock
xdoardo Sep 23, 2024
29f27c0
fix: Make linter happy
xdoardo Sep 23, 2024
a630a47
fix(api/tests): Copy `outer_attrs` in `_js` tests
xdoardo Sep 23, 2024
bb07bf6
fix(api/tests): Ignore some tests with `js` feature
xdoardo Sep 23, 2024
b43144a
fix(api/tests): Remove unuseful test
xdoardo Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/api/third_party/wamr"]
path = lib/api/third_party/wamr
url = https://github.com/bytecodealliance/wasm-micro-runtime
Loading