Commit Graph

449 Commits

Author SHA1 Message Date
Syrus Akbary
0a1a71fd6e Revert #3145
This reverst buggy commit e1e08f44b7
2022-11-21 11:09:19 -08:00
ptitSeb
525ce47aa0 Merge branch 'master' into imp_precompute_offsets 2022-11-21 17:19:29 +01:00
Felix Schütt
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
Felix Schütt
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00
Felix Schütt
820b83e56b Update 3.0.0-rc.2 -> 3.0.0-rc.3 2022-11-18 19:50:41 +01:00
Michael-F-Bryan
3a092cf6f9 Make "make lint" pass for Rust 1.63 2022-11-18 00:43:54 +08:00
ptitSeb
3d6241236c Procompute offsets in VMOffsets 2022-11-10 11:48:19 +01:00
ptitSeb
ba5a66e115 Merge branch 'master' into bug_enotcapable_on_root_access 2022-11-02 18:42:35 +01:00
Felix Schütt
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00
ptitSeb
c1ffc505c2 Return the correct error code when execution is aborted with a trap (3 on windows, 128+SIGABT elsewhere) 2022-10-31 18:05:09 +01:00
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