Syrus
4f0128f494
Merge branch 'master' of https://github.com/wasmerio/wasmer
2020-10-13 18:29:17 -07:00
Syrus
c97c70558d
Fixed broken intra docs attrs
2020-10-13 18:27:29 -07:00
Mark McCaskey
e3ec9f34c1
Prevent panic when min > static bound and max is less than it
2020-10-13 14:39:25 -07:00
Nick Lewycky
c2646c1259
Permit exported functions to be host functions.
...
At the moment this only happens from lib/deprecated.
2020-10-12 11:17:45 -07:00
Nick Lewycky
d69617112a
Merge branch 'master' into feature/trampoline-in-artifact
2020-10-09 10:43:57 -07:00
Nick Lewycky
cd494cb5cf
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:37:53 -07:00
Nick Lewycky
9acf25d246
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:36:17 -07:00
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
Nick Lewycky
9793d4568a
Merge branch 'master' into feature/trampoline-in-artifact
2020-10-08 19:04:28 -07:00
Nick Lewycky
a484765fd6
Move trampolines to artifact in engine-{jit,object-file,dummy}.
...
Some cleanup per cargo clippy.
2020-10-08 17:33:16 -07:00
Mark McCaskey
61c88be863
Prepare for 1.0.0-alpha4 release
2020-10-08 16:47:14 -07:00
Nick Lewycky
5d147f8236
WIP checkpoint. Code that builds.
...
Use Option<VMTrampoline> which should be ffi-compatible.
Put the register_signature and lookup_signature functions back on the Engine.
2020-10-08 15:09:37 -07:00
Nick Lewycky
e05e0ef2b4
Add a 'trampoline' field to ExportFunction.
...
Work in progress.
2020-10-07 17:01:56 -07:00
Nick Lewycky
3df193340c
Merge branch 'master' into feature/trampoline-in-artifact
2020-10-07 10:55:27 -07:00
Mark McCaskey
aa2e8f7b4d
Address more feedback, clean up code
2020-10-06 12:13:59 -07:00
Nick Lewycky
447de21390
A mess of changes.
2020-10-02 14:58:20 -07:00
Mark McCaskey
e7ba7c1154
Fix remaining tests
2020-10-01 17:25:13 -07:00
Mark McCaskey
a97f339687
Make Function Env immutable
...
Work in progress, we still have to update Emscripten
2020-09-30 17:30:17 -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
Ivan Enderlin
676579963a
doc(api) Fix a typo.
2020-09-17 08:41:08 +02: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