Commit Graph

2353 Commits

Author SHA1 Message Date
Brandon Fish
b016ec6b34 Add start_of_code_block to function 2019-04-30 23:44:34 -05:00
Brandon Fish
0ee2ba0ee6 Implement more of next_function and finalize 2019-04-30 23:22:41 -05:00
Brandon Fish
ec253c73ab Implement feed_local 2019-04-30 20:11:44 -05:00
bors[bot]
da6f5ffda0 Merge #376
376: Make the slice::from_raw_parts call safe r=xmclark a=Kerollmops

Casting a slice into another type (i.e. from `T` to `Atomic<T>`) can be made safe for Rust by using the [`#[repr(transparent)]`](https://github.com/rust-lang/rfcs/blob/master/text/1758-repr-transparent.md) on the `Atomic<T>` type.

This is now safe:
6478500b8f/lib/runtime-core/src/memory/view.rs (L51)


Co-authored-by: Clément Renault <renault.cle@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-05-01 00:16:26 +00:00
Brandon Fish
39b6b05f71
Merge branch 'master' into atomic-transparent-repr 2019-04-30 17:09:18 -07:00
bors[bot]
5484228b96 Merge #409
409: Improved Emscripten functions to run jsc r=syrusakbary a=syrusakbary

Improved Emscripten functions to run JavascriptCore.

The JavascriptCore WebAssembly file can be found here: https://github.com/wapm-packages/jsc/blob/master/demo/jsc.wasm

Co-authored-by: Syrus <me@syrusakbary.com>
2019-04-30 20:57:47 +00:00
bors[bot]
0730e39a46 Merge #408
408: add images to installer and add wapm bin dir to path r=xmclark a=xmclark



Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-04-30 20:45:13 +00:00
Syrus
747e5321a2 Fixed issues. Updated CHANGELOG 2019-04-30 12:05:13 -07:00
Syrus
ce140463d6 Merge branch 'master' into feature/jsc-emscripten 2019-04-30 11:47:28 -07:00
Syrus
e68f5e10e4 Improved emscripten functions to be able to run jsc 2019-04-30 11:47:03 -07:00
Syrus Akbary
bc50fe090c
Update install.sh
Co-Authored-By: xmclark <mackenzie.a.z.c@gmail.com>
2019-04-30 10:09:04 -07:00
Mackenzie Clark
18a8341e5a add changelog record 2019-04-30 09:59:07 -07:00
Mackenzie Clark
1471c34f73 add global wapm packages bin dir to path 2019-04-30 09:59:00 -07:00
Mackenzie Clark
6af87c1b5b add images to installer and add wapm bin dir to path 2019-04-30 09:21:08 -07:00
bors[bot]
82cf572245 Merge #404 #406
404: Update to newer common wasmparser version r=xmclark a=bjfish

- versions should match to have matching types in a common parser
- the `0.29.2` version matches the current parser version of cranelift-wasm

406: Cleanup some clippy warnings r=xmclark a=bjfish

Cleaned up some
- long literal lacking separators
- unneeded return

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-04-30 15:37:12 +00:00
bors[bot]
9ab4305e84 Merge #405
405: Remove unused imports r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-04-30 15:23:57 +00:00
losfair
21dd01c3aa Fix LLVM backend compilation and segfaults. 2019-04-30 15:52:43 +08:00
Brandon Fish
01ba789eed Cleanup some long literal lacking separators 2019-04-29 23:49:00 -05:00
Brandon Fish
8acf9edf67 Remove unneeded returns 2019-04-29 23:45:38 -05:00
Brandon Fish
da807ed2a1 Remove unused imports 2019-04-29 23:40:16 -05:00
Brandon Fish
a127b770b3 Update to newer common wasmparser version 2019-04-29 23:34:48 -05:00
bors[bot]
78c84d803b Merge #402
402: Improved fault debugging with emscripten r=syrusakbary a=syrusakbary

Improved fault debugging with emscripten.

This is useful when compiling with emcc and the flag `-s SAFE_HEAP=1`.

@MarkMcCaskey @xmclark 

Co-authored-by: Syrus <me@syrusakbary.com>
2019-04-29 20:50:17 +00:00
Mark McCaskey
d020ffd759 update version to 0.4.0 2019-04-29 13:26:51 -07:00
bors[bot]
7ad4228432 Merge #399
399: Add extending WASI plugin example r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
2019-04-29 18:46:45 +00:00
Mark McCaskey
49aa104ed8 fix changelog; add entry 2019-04-29 11:45:52 -07:00
Mark McCaskey
0913922172 Merge remote-tracking branch 'origin/master' into feature/extending-wasi-plugin-example 2019-04-29 11:44:51 -07:00
Mackenzie Clark
f862032e91
add comment about wasi on windows 2019-04-29 11:41:14 -07:00
Mark McCaskey
0f22a515be add comment; add wapm.toml 2019-04-29 11:33:03 -07:00
Mark McCaskey
c48171c19e Merge branch 'feature/extending-wasi-plugin-example' of github.com:wasmerio/wasmer into feature/extending-wasi-plugin-example 2019-04-29 11:27:26 -07:00
Mark McCaskey
4f4473c84e update from feedback 2019-04-29 11:27:19 -07:00
Mackenzie Clark
8e9767cf53
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:53 -07:00
Mackenzie Clark
bc0289cb84
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:35 -07:00
Mackenzie Clark
0add4584e3
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:17 -07:00
Syrus Akbary
d2d70b2fee
Merge pull request #401 from Hywan/fix-changelog
chore(changelog) 0.4.0 and 0.3.0 have been released
2019-04-29 10:50:14 -07:00
Mackenzie Clark
7e38664fce
Merge branch 'master' into feature/extending-wasi-plugin-example 2019-04-29 08:30:43 -07:00
Mackenzie Clark
e7b53c65f8
Add new line to example Cargo.toml 2019-04-29 08:10:05 -07:00
Mackenzie Clark
6f942ae317
Add new line to Cargo.toml 2019-04-29 08:09:42 -07:00
Ivan Enderlin
6e0e836d59 chore(changelog) Format links. 2019-04-29 14:29:04 +02:00
Ivan Enderlin
9c773df959
chore(changelog) 0.4.0 and 0.3.0 have been released 2019-04-29 14:26:31 +02:00
Brandon Fish
53bebf9c73 Add initial progress to add LLVM to module refactor 2019-04-29 00:13:34 -05:00
losfair
305e1801ff Fix incomplete data section 2019-04-28 15:38:18 +08:00
losfair
46fb72af9d Add missing .rev() on parameter list and simulate "red zone". 2019-04-28 13:31:22 +08:00
losfair
e63d7fd531 Merge 2019-04-28 12:58:27 +08:00
losfair
cb4c716ee5 Update dependencies 2019-04-28 12:55:07 +08:00
losfair
480308c62c Cargo fmt 2019-04-28 12:54:45 +08:00
losfair
cf83a9785f Print call trace to stderr. 2019-04-28 12:51:51 +08:00
losfair
6beb76c3ae Various cleanups. 2019-04-28 12:48:01 +08:00
Syrus
a4170d4495 Improved fault debugging with emscripten 2019-04-27 12:53:13 -07:00
Syrus
f2d9d22e94 Fixed wapm-cli git module url location 2019-04-27 12:40:49 -07:00
Mark McCaskey
18e6216b70
Delete bin.rs 2019-04-27 09:21:31 -07:00