3b76a81984
fix: Manually downcast JsValues back to traps because DowncastJS isn't thread-safe
2023-10-27 22:07:40 +08:00
cbf29c7723
Update 0.x package versions
2023-10-26 20:10:07 +03:30
3068bf9363
Release 4.2.3
2023-10-26 18:19:08 +03:30
ffeeb33d01
Process will now properly terminate when snapshots fail
2023-10-25 09:56:40 +11:00
ec74b83f25
Added the basics of the snapshot mechanism
2023-10-23 06:16:36 +11:00
c3f215859d
Release 4.2.2
2023-10-04 17:06:23 +03:30
1f7004d659
Release 4.2.1
2023-09-28 16:15:57 +04:00
dc871460e5
Made clippy happy
2023-09-20 01:19:26 +01:00
6213c0d8e5
Release 4.2.0
2023-09-05 15:08:50 +02:00
719c917bbc
NativeEngineExt::deserialize now returns Module
...
This is done to make the result actually usable, because there is no
public constructor that allows going from Artifact to Module.
2023-08-31 12:42:22 +02:00
98b1c6a997
Merge pull request #4176 from wasmerio/js-integrity-checks
...
Js integrity checks
2023-08-24 20:44:00 +08:00
71c0adede5
Removed some unnecessary panics from the wasmer-web integration test runner
2023-08-24 11:33:05 +08:00
17850b53cf
Fixed a bug when wasm-types-polyfill isn't activated
2023-08-23 23:43:21 +08:00
d61e6a2317
Introduce a JsHandle abstraction for detecting thread-safety issues when using the "js" feature
2023-08-23 23:30:31 +08:00
63987fa362
Revive "0-copy module deserialization"
...
This reverts commit afa67ffa5d
.
2023-08-22 09:35:59 +04:00
729f0f268c
Release 4.1.2
2023-08-21 14:45:24 +02:00
afa67ffa5d
Revert "0-copy module deserialization"
2023-08-17 12:01:59 -07:00
c43ed8a469
Merge branch 'master' into feat/0-copy-archive-deserialization
2023-08-17 19:05:04 +04:00
eb805b9004
Test virtual-net bincode and mpsc only on linux ( #4152 )
...
* Test virtual-net bincode and mpsc only on linux
* Disable check_small_stack check on macos/aarch64 (different pagesize, test won't work there)
* Diabled all remaining tests of virtual-net on macOS
* Diabled other virtual-net tests for windows too
2023-08-17 19:20:52 +10:00
8b484e7c61
move deserialize_mmapped_* to NativeEngineExt
2023-08-10 18:28:56 +04:00
de80e2ee83
0-copy module deserialization
2023-08-09 15:01:46 +04:00
0bd4b48691
Release 4.1.1 ( #4124 )
...
* Update CHANGELOG
* Release 4.1.1
* Added manual sectionin CHANGELOG.md
* Bumped 0.x crates
2023-08-03 17:43:16 +02:00
92a829062b
Release 4.1.0
2023-07-24 17:28:57 +02:00
c4541be53b
Make sure docs.rs enables #[cfg(docsrs)] when building docs
2023-07-10 13:07:40 +08:00
cd921ad827
Fix docstring for MemoryView struct
...
It says to use Memory.grow() to get a view, but
Memory.view() is what returns a MemoryView.
2023-07-09 02:42:46 -05:00
4930d6ce5c
Update tempfile crate (for #4037 )
2023-06-28 09:11:37 +02:00
aa20e707f3
Release 4.0.0
2023-06-22 13:50:31 +02:00
82cc3c94a6
Release 4.0.0-beta.3
2023-06-15 10:52:03 +02:00
18ab43bc60
Release 4.0.0-beta.2 ( #3982 )
...
* Update CHANGELOG
* Release 4.0.0-beta.2
* Manual Changelog for beta.2
* Updated 0.x crates when needed
* Bumped wasmer-registry crate to 5.0, there have been some breaking changes
2023-06-09 16:46:28 +02:00
fe1b4400d8
Disable small_stack test on Windows, not sure stack frame protection is completly efficient there
2023-06-06 19:55:44 +02:00
2ec41585b1
Added a test for small Stack (for #3808 )
2023-06-06 19:55:44 +02:00
4bdba31247
Release 4.0.0-beta.1
2023-06-01 19:06:00 +02:00
0fb2bcfaa5
Actually use unchecked deserialization
2023-06-01 13:02:53 +02:00
335bbbc98b
Fix deserialize calls in doc comments
2023-05-31 11:01:38 +02:00
d4aa42176f
Ran "cargo clippy --fix"
2023-05-29 21:15:28 +08:00
ce41932ede
Switch all crates over to using the [workspace.package] metadata
2023-05-29 21:08:41 +08:00
36b077d34b
Release 4.0.0-alpha.1 ( #3912 )
...
* Release 4.0.0-alpha.1
2023-05-25 17:30:02 +02:00
48cc6f99d5
Merge branch 'master' into remove-deprecated
2023-05-25 13:23:45 +02:00
a2593dd1c2
Removed more unused functions
2023-05-25 12:20:33 +02:00
fc87e4bd60
Removed all deprecated functions
2023-05-25 11:53:18 +02:00
50b3c25903
Merge branch 'master' into master
2023-05-25 11:50:11 +02:00
de9e9a8cea
Fixed linter
2023-05-24 14:50:22 +02:00
257526089f
Export VMConfig in vm mod of api
2023-05-24 14:19:40 +02:00
7651e2de38
Fixed linter
2023-05-24 14:05:45 +02:00
3b106be90d
Changed tunables to have a VMConfig settings (with only stack size for now)
2023-05-24 13:52:28 +02:00
458330edc6
Implement both Module::deserialize and _unchecked for jsc
2023-05-24 07:31:57 +00:00
fa2f2d9c63
Rework Module deserialize methods
...
Rework the deserialize/deserialize_checked methods for module
deserialization.
* Make deserialize() methods use artifact validation
* Make checked methods unsafe again, because loading executable memory
is inherently unsafe
* Rename methods that skip artifact validation to deserialize_unchecked
Closes #3727
2023-05-24 07:31:57 +00:00
9a69ee2e91
Fix typos in docs
2023-05-22 11:19:22 +02:00
e763f0834b
Merge pull request #3874 from wasmerio/issue-3810-try-clone-return
...
refactor!: Memory API Modifications (try_clone/copy, duplicate_in_store)
2023-05-18 11:17:21 +02:00
4f057856f4
refactor!: Memory API modifications (try_clone/copy, duplicate_in_store)
...
* Change the try_clone and try_copy methods to return a Result<_, MemoryError>
This is a more informative return type than the previous Option<>,
and allows handling failure cases better
* Remove deprecated duplicate_in_store() method
Closes #3810
2023-05-18 02:44:15 +02:00