Commit Graph

420 Commits

Author SHA1 Message Date
Nick Lewycky
ab53093fc6 Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:35:00 -07:00
Nick Lewycky
294496099e Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:33:48 -07:00
Nick Lewycky
400006cc25 Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:31:15 -07:00
Nick Lewycky
437bbe139f Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:30:12 -07:00
Nick Lewycky
3aec7f74f2 Remove redundant clone, this is an Arc.
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2020-10-08 20:26:47 -07:00
Nick Lewycky
fdf70880db Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:15:47 -07:00
Nick Lewycky
6e9db4c475 Use Self instead of the full name of the structure.
https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2020-10-08 20:12:53 -07:00
Mark McCaskey
61c88be863 Prepare for 1.0.0-alpha4 release 2020-10-08 16:47:14 -07:00
Mark McCaskey
aa2e8f7b4d Address more feedback, clean up code 2020-10-06 12:13:59 -07:00
Mark McCaskey
ce5f302f9a Merge branch 'master' into feature/engine-object-file 2020-09-29 17:48:38 -07:00
Mark McCaskey
1ed1a52d25 Get early exit example working with C API; implement wasm_trap_t API 2020-09-29 14:13:30 -07:00
Mark McCaskey
e23ff69594 Merge branch 'master' into feature/engine-object-file 2020-09-25 11:07:25 -07:00
Mark McCaskey
79392e5d33 Fix bug with default-native feature in store.rs 2020-09-22 17:18:30 -07:00
Syrus Akbary
2b9cb3ef62 Update README.md 2020-09-15 23:54:38 +03:00
Syrus
ccb3fbd5c1 Fixed versions of Wasmer in READMEE 2020-09-15 14:32:16 +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
dbc1b4e477 Add tests for smaller sizes, change logic to truncate parameters 2020-09-10 16:17:17 -07:00
Mark McCaskey
d23cebfbfa Remove use of unsafe, add tests for func param conversion 2020-09-08 14:25:27 -07:00
Mark McCaskey
4c5bf19343 Fix bug relating to type conversion in function calls 2020-09-08 13:38:57 -07:00
Mark McCaskey
c2a10c4046 Remove redundant checks form api::Global::set 2020-09-03 16:53:57 -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
Mark McCaskey
f2f19dd468 Merge branch 'master' into feature/engine-object-file 2020-09-01 14:45:54 -07:00
Mark McCaskey
485cc1dc7e Fix things up, get things working 2020-08-28 14:54:20 -07:00
Mark McCaskey
28aead6a50 Add engine object-file (WIP) 2020-08-26 13:49:47 -07:00
Nick Lewycky
047ae27d4b Make data_size a u64 in the public API, so that we can support larger memories in wasm without breaking the API. 2020-08-20 23:38:20 -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
Mark McCaskey
bcdae0a6fb Remove dependency on engine-dummy from wasmer api 2020-08-17 10:55:55 -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
6e974b92cd Run cargo fmt 2020-08-13 18:12:43 -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
Mark McCaskey
7e9d9cab08 Fix memory issue with Emscripten 2020-08-04 18:15:38 -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
756ae2017c Fixed v128 bytes 2020-07-24 16:15:47 -07:00
Syrus
e827d5c099 Improved READMEs 2020-07-24 15:38:10 -07:00
Syrus
a749f899f0 Fixed tests 2020-07-24 15:37:59 -07:00
Syrus
b5d35356e8 Fixed syntax 2020-07-24 14:12:46 -07:00
Syrus
2c34fd2338 Fixed global API 2020-07-24 14:08:58 -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
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
Syrus
e8c7fd9568 Improved function debug 2020-07-21 22:05:09 -07:00
Syrus
1293df8dd6 Added Debug to public structs. Close #173 2020-07-21 20:38:32 -07:00
Syrus
b06f021612 Improved Function API 2020-07-21 20:02:01 -07:00