15f9d2646f
Release version 2.2.0-rc1
2022-02-15 19:10:24 +00:00
fe025cdd3c
Fix potential integer overflows in WasmPtr memory access methods
2022-02-10 15:57:08 +00:00
4e27e1164c
Release version 2.2.0-rc1
2022-01-27 23:59:27 +00:00
fb7a572415
Use exact version for Wasmer crate dependencies
...
We don't guarantee API compatibility between internal Wasmer crates when
making minor version bumps.
2022-01-19 21:35:09 +00:00
2704b5be45
Remove llvm from docs.rs feature set (trouble with building)
2021-12-27 00:21:35 +09:00
a66226594f
Merge #2730
...
2730: Release 2.1.1 r=Amanieu a=Amanieu
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com >
2021-12-21 11:20:29 +00:00
ebcea4a5c4
Release v2.1.1
2021-12-21 12:19:50 +01:00
3a67783fd1
Rename RuntimeError::custom to RuntimeError::user
2021-12-20 17:16:31 +01:00
4924a7c22a
Update examples that use RuntimeError::custom to use return a custom
...
error type directly.
2021-12-20 16:27:24 +01:00
c68393abbd
Merge #2728
...
2728: Replace RuntimeError::raise with RuntimeError::custom r=syrusakbary a=Amanieu
`RuntimeError::raise` should not be exposed to user code since it perfoms a `longjmp` internally which is unsound if there are any destructors on the stack. Instead a custom error type should be returned using `RuntimeError::custom` which can be passed through WASM code and later retrieved using `RuntimeError::downcast`.
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com >
2021-12-18 13:07:45 +00:00
17c0834abf
Replace RuntimeError::raise with RuntimeError::custom
2021-12-18 00:34:44 +01:00
d110bd3700
Improve comment
2021-12-17 18:18:49 +01:00
2a2d44d127
Added externs_vec
method to the ImportObject
2021-12-15 12:58:49 +01:00
dcb2490d91
Added access to the raw Wasm instance
2021-12-14 12:25:52 +01:00
7b8d4b1c8e
Remove internal Arc from Exports
...
This is useless and prevents cloned Exports from being modified.
2021-12-09 18:18:12 +00:00
c650ffea33
Version 2.1.0
2021-11-30 23:46:54 +00:00
d848a430cf
Fixed linting
2021-11-25 13:02:57 +01:00
c6d2a08d0d
Improved docs and fixed comments
2021-11-25 10:35:26 +01:00
c0bcef9feb
Improved naming
2021-11-25 00:11:44 +01:00
d09553fc1b
Merge branch 'master' into js-api-improvement
2021-11-24 23:58:00 +01:00
c0913fa913
Added jsobjectresolver
2021-11-24 23:57:43 +01:00
8f2e49d528
Merge #2693
...
2693: Add extra validation to compilers & engines r=ptitSeb a=Amanieu
- Cranelift and singlepass now properly cross-compile with no dependency on the host target.
- Staticlib engine now panics if you try to run a freshly compiled module.
- CPU features used when a module was compiled are now checked against the host CPU features during instantiation.
Fixes #1567
Fixes #2590
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com >
2021-11-23 19:48:25 +00:00
a603c33def
Validate that CPU features are supported when instantiating a module
2021-11-23 15:21:34 +00:00
54b4495b3f
Fix build
2021-11-22 19:33:02 +00:00
2b104a8ecc
Merge #2677
...
2677: Support 32-bit memories with 65536 pages r=ptitSeb a=Amanieu
Fixes #2187
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com >
2021-11-10 15:49:43 +00:00
6a0b381763
Support 32-bit memories with 65536 pages
...
Fixes #2187
2021-11-10 14:49:32 +00:00
3af8b12152
fix(windows) Fix slow memory grow handling ( fix #2260 )
2021-11-08 16:08:01 +01:00
8f035d8a07
fix(windows) Fix slow memory grow handling ( fix #2260 )
2021-11-08 15:41:20 +01:00
265a8708d0
Make sure docs.rs enables features like singlepass and llvm
2021-10-15 20:25:35 +09:00
cff5ad94ab
Merge branch 'master' into get_namespace_exports
2021-10-12 12:48:42 +02:00
0d68e3e73b
Fixed wasmer-js send+sync
2021-10-11 17:48:49 +02:00
b215e03ca0
refactor(api): add Send + Sync trait when creating an instance
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com >
2021-10-06 10:39:59 +02:00
42c77b94f0
Merge branch 'master' into get_namespace_exports
2021-10-04 12:39:36 +02:00
f9ff574e10
Merge pull request #2583 from wasmerio/js-wasi
...
Improved wasmer-js api
2021-10-01 20:26:14 +02:00
35d6c0229c
Add ImportObject::get_namespace_exports
...
This allows the contents of an existing namespace to be added to by
extracting an `Exports` from it, adding to that `Exports` and then
replacing the existing namespace with the modified `Exports`.
2021-10-01 16:15:55 +01:00
e2d1c3679c
Improved wasmer-js api
2021-09-14 14:57:39 +02:00
f6fe638fbf
Fix default-native into default-dylib
...
This should be default-dylib because the feature default-native doesn't exist/ has been renamed.
2021-09-12 15:02:13 +02:00
bb416b905d
fix(vm) Fixed a typo in a comment
2021-09-03 15:26:51 +02:00
b0c7bd0f47
fix(vm) Fix the memory_grow test on Windows (with a bigger page guard)
2021-09-03 12:11:35 +02:00
2ff9838615
doc(api) Document that Memory::uint8view
is going to be refactored.
2021-08-30 16:48:33 +02:00
eb19c98197
Revert "fix(api) Remove the temporary Memory::uint8
method."
...
This reverts commit 347f4c6890
.
2021-08-30 16:17:05 +02:00
347f4c6890
fix(api) Remove the temporary Memory::uint8
method.
2021-08-30 16:07:26 +02:00
167d9268eb
Merge branch 'master' into js-api-wasi
2021-08-30 12:04:27 +02:00
f7dcb02a79
Updated version
2021-08-21 10:21:37 +01:00
f09fb3e896
Improved headless support on c-api
2021-08-21 10:21:37 +01:00
f1878eb702
Switch back to using wasmer_api::wasmerparser dependency.
2021-08-21 10:21:37 +01:00
7798daf6c4
Remove cargo changes
2021-08-21 10:21:37 +01:00
6ddc2f6454
Add iOS support for Headless Wasmer
2021-08-21 10:21:37 +01:00
1e980b82f7
Fixed dependencies a bit more
2021-08-10 11:47:44 -07:00
3319e0f893
Added support for calling dynamic functions defined on the host
2021-08-10 11:07:32 -07:00