Commit Graph

389 Commits

Author SHA1 Message Date
Felix Schütt
8ee578fb5d Update package versions 2022-10-25 12:54:45 +02:00
Felix Schütt
641246bebc Merge branch 'master' into fix-3197 2022-10-17 16:16:04 +02:00
Felix Schütt
e6f6e6047a Fix wrong doc comment 2022-10-14 15:59:17 +02:00
Felix Schütt
b645800ae3 Fix runtime size for Memory 2022-10-14 14:39:24 +02:00
Felix Schütt
ad1f4fea05 cargo fmt 2022-10-14 14:12:52 +02:00
Felix Schütt
607050641c Added get_runtime_size to test for runtime-sizes of imports 2022-10-14 14:08:25 +02:00
Felix Schütt
67d650146c cargo clippy --fix 2022-10-14 13:00:55 +02:00
Felix Schütt
292ec7aade Try using >= as a comparison for checking table sizes 2022-10-14 12:36:19 +02:00
Felix Schütt
332b8b1b71 Revert to using new_len 2022-10-11 11:51:22 +02:00
Felix Schütt
9e4b00f86a Merge branch 'master' into fix-3197 2022-10-11 11:48:56 +02:00
Felix Schütt
f4dc64d0c1 Use vec.len() to synchronize table length when growing table 2022-10-11 11:48:35 +02:00
Felix Schütt
17aec88db8 Update minimum of table when growing table 2022-10-10 11:27:00 +02:00
ptitSeb
6b51a64fae Forgot to add back a failsafe in memory_init 2022-10-06 11:04:42 +02:00
ptitSeb
50eed71ab0 Last changes to enforce size check on ther caller of memory_data_init and not the function itself 2022-10-06 09:51:54 +02:00
ptitSeb
d12897d647 Added public initialize_memory_with_data function 2022-10-05 15:14:43 +02:00
ptitSeb
57652b0585 Fixed initialize_with_data not always called, and made the default memory data initializer available outside of the crate 2022-10-05 14:35:40 +02:00
ptitSeb
c27547e41e Removed Instance::new_no_memory_init, use custom LinearMemory with custom memory_init method to get the same result 2022-10-04 14:48:51 +02:00
ptitSeb
d581152641 Added an option to create a new instance without automatically initialize the memory 2022-10-03 11:38:14 +02:00
Felix Schütt
fef756412f Update 3.0.0-beta -> 3.0.0-beta.2 2022-09-26 12:20:35 +02:00
Felix Schütt
6988025cd0 Fix make lint 2022-08-23 15:24:13 +02:00
ptitSeb
2953093fb1 Some more cleanup 2022-08-23 11:28:43 +02:00
ptitSeb
73844bb7d2 Move LinearMemory test from vm::Memory to Tunables 2022-08-22 15:01:28 +02:00
ptitSeb
12eea42187 Added some test for LinearMemory trait 2022-08-22 13:43:10 +02:00
ptitSeb
553745cd3d Move LinearMemory trait and VMMemoryDefinition to wasmer_vm (from wasmer_types) 2022-08-19 16:00:38 +02:00
ptitSeb
7db6d3de78 Made clippy happy 2022-08-18 17:40:32 +02:00
ptitSeb
f599df0240 Fix linter 2022-08-18 16:58:04 +02:00
John Sharratt's Shared Account
c7c1507b8b Implemented LinearMemory trait 2022-08-18 16:53:37 +02:00
Manos Pitsidianakis
c570b1471a Bump version to 3.0.0-beta in Cargo manifests 2022-08-08 19:56:35 +03:00
Felix Schütt
520314bbf0 Fix errors from "make lint" 2022-08-05 15:40:32 +02:00
Manos Pitsidianakis
430a7e2e19 Make serde optional everywhere with enable-serde feature flag 2022-08-02 15:45:28 +03:00
Felix Schütt
011d36829a Bump 3.0.0-alpha.3 to 3.0.0-alpha.4 2022-07-30 11:31:08 +03:00
Felix Schütt
1c3ffffe46 Bump 3.0.0-alpha.2 to 3.0.0-alpha.3 2022-07-30 11:30:45 +03:00
Felix Schütt
02ee80cf10 Bump version to 3.0.0-alpha.2 2022-07-30 11:30:07 +03:00
Felix Schütt
6c045bff10 Bump version to 3.0.0-alpha.1 to fix botched compiler crate 2022-07-30 11:29:41 +03:00
Felix Schütt
8959008403 Update version to 3.0.0-alpha 2022-07-30 11:29:05 +03:00
Syrus Akbary
eb9e73d3aa Improvedf hashing/ids of function envs 2022-07-25 14:38:42 -07:00
Manos Pitsidianakis
924d2dcf4e Remove Universal mentions from cargo features 2022-07-25 14:45:27 +03:00
Manos Pitsidianakis
37773f29d7 Store/create Arc<ModuleInfo> in Module on Instantiation
Instead of accessing Arc<ModuleInfo> from the artifact a module was
instantiated from, create a copy from it in each instantiated module.
2022-07-25 13:13:52 +03:00
Manos Pitsidianakis
4b7671cabd Leave rkyv dependency only in wasmer-types
rkyv is only needed in wasmer-types crate after moving all serializable
types there.
2022-07-25 13:13:52 +03:00
Syrus Akbary
a419ccdf52 Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
2022-07-19 15:31:51 +03:00
Manos Pitsidianakis
62f07efb08 c-api: Add wasm_*_same functions to global,memory,table 2022-07-19 15:31:51 +03:00
Amanieu d'Antras
9e53e70767 Rework the way the Context is passed into function using it 2022-07-19 15:31:51 +03:00
Amanieu d'Antras
738a66f719 Implement the new Context API for the core API
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
2022-07-19 15:31:51 +03:00
Amanieu d'Antras
f16bd35d3c Remove old ref-counted extern support from compiler-cranelift
It was never fully implemented and we're moving to a different way of
tracking ExternRef lifetimes.
2022-07-19 15:31:51 +03:00
ptitSeb
2b8aa5174e Allow debugging of EXC_BAD_INSTRUCTION on macOS 2022-07-01 16:03:10 +02:00
Manos Pitsidianakis
a6173f9746 Remove wasmer-{artifact,engine} and merge it into wasmer-compiler and wasmer-vm 2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
699bd3f8ca Update rkyv dependency to 0.7.38 2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
4a80830566 lib/types: remove ArchivableIndexMap struct
rkyv supports IndexMap via a feature flag, so having our own IndexMap
type is unnecessary.
2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
065734bb05 Make rkyv dependency required 2022-06-16 16:57:45 +03:00
Johnathan Sharratt
b0709e4153 Implemented multithreading and fixed a number of bugs with WASIX 2022-06-15 19:26:57 +03:00