Syrus
5a407078f6
Fixed spec test failures due to enabling bulk memory
2020-09-16 13:04:10 +03:00
Mark McCaskey
ead9532004
Prepare for 1.0.0-alpha3 release
2020-09-14 13:12:56 -07:00
Syrus
2cd12213fb
Standardize Cargo files of all crates
2020-09-13 22:11:16 +03:00
Mark McCaskey
1ee2ba30a2
Prepare for 1.0.0-alpha02.0 release
2020-09-11 14:40:25 -07:00
Mark McCaskey
b40714407b
Add updates from feedback
2020-09-03 16:30:04 -07:00
Mark McCaskey
18f8a58d72
Fix soundness issue in vm::Global
...
The `unsafe impl` for `Send` and `Sync` relies on the global being
locked when it's being accessed; the get and get_mut functions did
not (and could not) do this, so we replace them with `get` and `set`
methods which operate on `Value`s directly.
Additionally the `get_mut` function took a `&self` and returned a
`&mut` to the underlying data which allows for aliased mutable
references to the same data which is another soundness issue.
2020-09-03 15:23:11 -07:00
Nick Lewycky
8a27a2938b
Turn VMMemoryDefinition::current_length into a u32.
...
The current wasm spec limits the size to 32-bits, and attempting to use a larger size causes problems with compiler-cranelift.
2020-08-19 18:04:12 -07:00
Nick Lewycky
8baae3aa8d
Correct the size of this field.
2020-08-19 16:05:14 -07:00
Mark McCaskey
d81c9dd686
Fix up Cargo manifests for publishing Wasmer
2020-08-17 10:41:14 -07:00
Mark McCaskey
e06ca4ffd2
Prepare for 1.0.0-alpha01.0 release
...
This is the first alpha release of `1.0.0`: expect breaking changes.
The version suffix `alpha01.0` was chosen so that we can ship updates
that automatically update with the latter number and can prevent
auto-updates by incrementing the former number (which is not actually
a number as far as semver is concerned).
Also because crates.io sorts versions lexicographically, it will
display the wrong readme if we get to alpha10, so we pad with an extra
0 just in case we need more than 9 releases of alpha.
2020-08-14 16:08:44 -07:00
Mark McCaskey
5049c543dc
Rename wasm-common crate to wasmer-types
2020-08-13 17:59:26 -07:00
Nick Lewycky
fadd5d6699
Remove nearly-all mentions of reborn.
2020-08-13 11:32:14 -07:00
Syrus
48493bcb52
Fix libc requirement. Fix #207
2020-08-03 12:28:25 -07:00
Syrus
48dd090da6
Updated build links
2020-07-29 17:30:15 -07:00
Nick Lewycky
dbdf346aec
Fix build of docs.
2020-07-27 14:36:20 -07:00
Syrus
a732159514
Use better naming for module functions
2020-07-26 12:02:45 -07:00
Syrus
6785e7e7ad
Move TableInitializer to wasm_common
2020-07-26 11:47:30 -07:00
Syrus
9ccaf70f70
Renamed table_elements to table_initializers
2020-07-25 01:51:09 -07:00
Syrus
d86f8daa76
Added full support for WasiError::Exit code in the CLI
2020-07-24 22:53:19 -07:00
Syrus
5718506614
Improved RuntimeError
2020-07-24 21:46:13 -07:00
Syrus
6444768a8d
Fixed comment
2020-07-24 20:54:57 -07:00
Syrus
d054ec2d6b
Simplified Out of Memory traps, to be runtime ones
2020-07-24 20:42:18 -07:00
Syrus
8e854c51ae
Improved trap code
2020-07-24 20:32:35 -07:00
Syrus
69b2848859
Improved variable naming in Instance
2020-07-24 19:56:24 -07:00
Syrus
79034f069d
Improve crate readmes
2020-07-24 15:33:12 -07:00
Syrus
04f2250195
Simplified globals a bit further
2020-07-23 16:16:11 -07:00
Syrus
59715c12e0
Improved API a bit further
2020-07-23 16:07:30 -07:00
Syrus
462693e35b
Simplified code a bit more
2020-07-23 15:45:00 -07:00
Syrus
b7d41e1e31
Merge branch 'master' into feature/improve-thread-safety-of-core-types
...
# Conflicts:
# lib/api/src/instance.rs
# lib/engine-jit/src/artifact.rs
# lib/engine-native/src/artifact.rs
2020-07-23 15:29:13 -07:00
Ivan Enderlin
8c5a9292ed
fix(vm) enable-serde is a default feature of wasm-common.
2020-07-23 15:45:58 +02:00
Syrus
5b8b54d088
Merge branch 'master' into singlepass-on-stable
...
# Conflicts:
# Cargo.lock
# lib/api/tests/externals.rs
2020-07-16 11:58:12 -07:00
Ivan Enderlin
a71244ba65
Merge branch 'master' into feat-deprecated-runtime-core
2020-07-16 13:27:59 +02:00
Nick Lewycky
635f8a4284
Remove references to non-existant clippy.toml.
2020-07-10 14:49:37 -07:00
Syrus
e0fbf70234
Simplify Global new
2020-07-10 13:32:38 -07:00
Mark McCaskey
f9bce8858b
Merge branch 'master' into feature/improve-thread-safety-of-core-types
2020-07-09 13:57:58 -07:00
Ivan Enderlin
2f5169ec11
Merge branch 'master' into feat-deprecated-runtime-core
2020-07-09 10:45:40 +02:00
Syrus
d93c4deaab
Update dependencies
2020-07-08 00:02:04 -07:00
Syrus Akbary
af8b4ff3ac
Update README.md
2020-07-07 21:59:05 -07:00
Syrus
92f8651312
Renamed wasmer_runtime to wasmer_vm
2020-07-07 21:26:06 -07:00