Commit Graph

1194 Commits

Author SHA1 Message Date
Syrus Akbary
c04e536701 Fix code 2023-02-28 00:33:28 -08:00
Syrus Akbary
e26a78408c Remove unused code 2023-02-27 23:32:19 -08:00
Syrus Akbary
09427c3bb6 Make automatically the trait Into<Engine> conversions 2023-02-27 23:25:17 -08:00
Syrus Akbary
fe72a5ab7f Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/js/function_env.rs
#	lib/wasi/src/bin_factory/exec.rs
2023-02-27 23:06:25 -08:00
ptitSeb
1405d7ff99 Merge branch 'master' into feat_data_and_store_mut 2023-02-27 11:18:11 +01:00
ptitSeb
ec14a758ac Fixed linting 2023-02-27 10:19:58 +01:00
Syrus Akbary
93def03796 Address most of the comments 2023-02-25 11:23:03 -08:00
Syrus Akbary
5bdf3d4e2b Fixed unimplemented 2023-02-24 15:02:25 -08:00
Syrus Akbary
a6ebf78fcb Verious fixes for the wasix merge 2023-02-24 14:37:48 -08:00
Syrus Akbary
826d32194d Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/js/mem_access.rs
#	lib/api/src/js/mod.rs
#	lib/api/src/sys/typed_function.rs
#	lib/wasi/src/syscalls/wasix32.rs
#	lib/wasi/src/syscalls/wasix64.rs
#	lib/wasi/src/utils/mod.rs
2023-02-24 14:13:02 -08:00
Syrus Akbary
1f64ba13e0 Wrap engine 2023-02-24 13:35:46 -08:00
ptitSeb
6f3253e561 Added a universal_test on FunctionEnvMut::data_and_store_mut function 2023-02-24 12:12:30 +01:00
ptitSeb
b4101c4777 Add FunctionEnMut::data_and_store_mut on api/js too 2023-02-23 15:48:55 +01:00
ptitSeb
a7579c052e Added FunctionEnvMut::data_end_store_mut (will help #3592) 2023-02-23 15:38:36 +01:00
Christoph Herzog
4d0460e2c6 Merge remote-tracking branch 'origin/master' into wasix 2023-02-22 11:15:16 +01:00
Syrus Akbary
ae6c3baeb8 Merge branch 'master' into std-api 2023-02-17 16:25:30 -08:00
Rich Lane
b5f288830c Optimize getting byteLength in MemoryView::new 2023-02-17 15:00:27 -08:00
Syrus Akbary
bb9ac04336 Make API compatible changes with wasmer-js 2023-02-16 22:45:28 -08:00
Syrus Akbary
b61e2a1287 Added equality to instance, Module and Exports 2023-02-16 21:56:44 -08:00
Syrus Akbary
d85297fddc Fix linting and compilation 2023-02-16 21:21:44 -08:00
Syrus Akbary
db6dd420e1 Optimized ModuleInfo usage 2023-02-16 20:44:49 -08:00
Syrus Akbary
c85b2bf62e Implement PartialEq for all externals 2023-02-16 20:00:27 -08:00
Christoph Herzog
a7cd600382 chore: Fix clippy lints 2023-02-16 07:40:48 +01:00
Christoph Herzog
cbcae65d71 Merge remote-tracking branch 'origin/wasix-major-fixes-and-tweaks' into wasix 2023-02-16 06:11:48 +01:00
Johnathan Sharratt
81bae8f95d Merge remote-tracking branch 'origin' into wasix-major-fixes-and-tweaks 2023-02-16 15:40:44 +11:00
Syrus Akbary
e9a4ba498a Fix linting 2023-02-15 18:28:41 -08:00
Syrus Akbary
5faa0364fc Improved module imports 2023-02-15 18:24:45 -08:00
Syrus Akbary
745a06b15a Improved module imports 2023-02-15 18:12:18 -08:00
Syrus Akbary
99d3f84590 Simplified errors 2023-02-15 18:02:22 -08:00
Syrus Akbary
c45864ac26 Universalize MemoryView in js/sys 2023-02-15 17:13:15 -08:00
Syrus Akbary
95e351adb2 Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/engine.rs
#	lib/api/src/store.rs
2023-02-15 13:26:45 -08:00
Syrus Akbary
b4c190bf72 Unified Function into js/sys 2023-02-15 13:17:28 -08:00
Michael-F-Bryan
8d46f7f2d7 Make AsStoreRef and friends work for anything that derefs to an AsStoreRef 2023-02-16 00:41:03 +08:00
Christoph Herzog
4db0dd06f3 chore: Align read_to_slice function names between sys and js 2023-02-15 17:22:05 +01:00
ptitSeb
dc05bd111b Removed new ExportError::SerializationFailed, as it's not used 2023-02-15 14:50:30 +01:00
Johnathan Sharratt
cc83041680 Merge branch 'wasix' of github.com:wasmerio/wasmer into wasix-major-fixes-and-tweaks 2023-02-15 17:07:17 +11:00
Syrus Akbary
cd4cb7a75b Make function internal APIs closer 2023-02-14 18:10:37 -08:00
Syrus Akbary
e9b8868b63 Moved ExternRef and FuncRef into crate::vm for unification 2023-02-14 18:07:05 -08:00
Syrus Akbary
3e7552abc3 Fix global 2023-02-14 17:58:42 -08:00
Syrus Akbary
7bf1bd1dc1 Fixed as_js for global 2023-02-14 17:08:05 -08:00
Syrus Akbary
4c0399f674 Unified global into js/sys 2023-02-14 16:41:39 -08:00
Syrus Akbary
4c0bd5c9d8 Unified Memory in js/sys 2023-02-14 16:20:11 -08:00
Christoph Herzog
60850bdb2f fix(wasi): Get the JS implementation to build (somewhat hackily)
Makes various fixes to get wasi JS to build.

Has some nasty workarounds that need to be removed in the future.
2023-02-14 13:24:45 +01:00
Syrus Akbary
1966af3703 Unified extern::Table in js/sys 2023-02-13 17:07:22 -08:00
Syrus Akbary
3b0ee715f7 Created vm module 2023-02-13 17:05:46 -08:00
Syrus Akbary
fcad0fa5de Make AsJs work with unified Instance 2023-02-11 19:49:48 -08:00
Syrus Akbary
db6430c0b3 Unified Extern in js/sys 2023-02-11 19:32:01 -08:00
Syrus Akbary
1d85b301ef Moved reexports one level down 2023-02-11 18:35:03 -08:00
Syrus Akbary
92255601fe Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/sys/instance.rs
2023-02-11 18:19:10 -08:00
Syrus Akbary
f72220e9d7 Removed repeated comments 2023-02-11 18:10:22 -08:00