Commit Graph

3205 Commits

Author SHA1 Message Date
Lachlan Sneff
d8c6f76846 Redesign the interface between the runtime and the backends.
This removes the ProtectedCaller and FuncResolver traits, simplifying call implementations and improving dynamic call throughput.
2019-04-11 18:01:54 -07:00
Syrus
94fac3dd8b Updated version to 0.3.0 🎉 2019-04-11 17:19:39 -07:00
Syrus
2d01ff0a6d Install rust nightly by default in mac 2019-04-11 16:54:49 -07:00
bors[bot]
7113355333 Merge #346
346: Improved installer to use tar r=Hywan a=syrusakbary

Improved installer to use tar

Co-authored-by: Syrus <me@syrusakbary.com>
2019-04-11 23:30:25 +00:00
Syrus
0cbb6de552 Improved Rustup installer in mac 2019-04-11 16:24:14 -07:00
Syrus
0aec2081a2 Merge branch 'master' into feature/tar-install
# Conflicts:
#	.circleci/config.yml
2019-04-11 16:19:13 -07:00
bors[bot]
11b6a5d02d Merge #344
344: Do the release on Rust nightly r=syrusakbary a=syrusakbary

Do the release on Rust nightly

Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Lachlan Sneff <lachlan.sneff@gmail.com>
2019-04-11 22:55:18 +00:00
Syrus
a5fc32fced Add production-release to Makefile 2019-04-11 15:33:02 -07:00
Lachlan Sneff
a100b2a72e feature cfg away singlepass and llvm backends in cli 2019-04-11 15:31:02 -07:00
Syrus
e31d4615ce Added more commands to install 2019-04-11 15:07:19 -07:00
Syrus
e5d0b377c1 Improved install script 2019-04-11 15:05:14 -07:00
Lachlan Sneff
81807712d8 Enable llvm backend 2019-04-11 14:44:43 -07:00
Lachlan Sneff
4a0484df08 Merge branch 'feature/nightly-release' of github.com:wasmerio/wasmer into feature/nightly-release 2019-04-11 14:43:27 -07:00
Lachlan Sneff
9b7ee691eb Merge branch 'master' into feature/nightly-release 2019-04-11 14:43:17 -07:00
Lachlan Sneff
688b6cae26
Merge branch 'master' into feature/nightly-release 2019-04-11 14:36:18 -07:00
Lachlan Sneff
4740b2467f Add backend selection to cli 2019-04-11 14:34:54 -07:00
bors[bot]
1e59968bc0 Merge #345
345: Fix llvm unwinding on nightly. r=lachlansneff a=lachlansneff



Co-authored-by: Lachlan Sneff <lachlan.sneff@gmail.com>
2019-04-11 20:18:02 +00:00
Syrus
b724dd0a9b Fix format 2019-04-11 13:17:19 -07:00
bors[bot]
0cab40876c Merge #336
336: Add Dockerfile and documentation r=xmclark a=bjfish

See `docs/dockerfile.md` below for description.

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-04-11 19:44:28 +00:00
Syrus
d67bfdb2c5 Renamed dynasm backend to singlepass 2019-04-11 12:44:03 -07:00
Brandon Fish
ed23344012
Merge branch 'master' into feature/dockerfile 2019-04-11 14:16:22 -05:00
Lachlan Sneff
60ac7a5b49 Remove unneeded semicolon 2019-04-11 12:13:36 -07:00
Lachlan Sneff
c898439817 Add well placed unwind(allowed) attribute 2019-04-11 12:07:54 -07:00
Syrus
1f06e90729 Use better key for caching 2019-04-11 11:51:28 -07:00
Syrus
e986553d8b Improved CircleCI config, use rust nightly for release 2019-04-11 11:44:07 -07:00
Syrus
71aaf2d3f8 Updated cargo 2019-04-11 11:40:23 -07:00
bors[bot]
81fcecd705 Merge #290
290: Assembler API for the single-pass backend. r=syrusakbary a=losfair



Co-authored-by: losfair <zhy20000919@hotmail.com>
2019-04-11 18:07:58 +00:00
losfair
394c56b2b4 Added missing was_unreachable check. 2019-04-11 18:59:00 +08:00
Syrus Akbary
527d32b00d
Added WASI to the integrations 2019-04-10 23:14:29 -07:00
losfair
77c1bfa005 Cargo fmt 2019-04-11 11:53:26 +08:00
losfair
759fecf6fd Fix longjmp. 2019-04-11 11:52:57 +08:00
losfair
7e20575e5b Implement get_wasm_trampoline 2019-04-11 11:41:32 +08:00
Syrus Akbary
b6150d5881
Re-enable testing test-emscripten-nightly 2019-04-10 19:31:42 -07:00
losfair
ab04f54e72 Merge remote-tracking branch 'origin/master' into dynasm-refactor 2019-04-11 10:06:47 +08:00
losfair
4736028369 Cargo fmt 2019-04-11 09:43:02 +08:00
losfair
799e1d8dec Cleanup. 2019-04-11 09:41:18 +08:00
Syrus Akbary
2c9a3668f1
Improved embedded runtime language support 2019-04-10 18:37:22 -07:00
losfair
2d72bbf834 Smallvec optimization. 2019-04-11 09:31:54 +08:00
Mark McCaskey
91af7cf8a8 add preopened fd and fix/improve fs syscalls (WIP) 2019-04-10 18:23:25 -07:00
losfair
e8fe58d9c6 Implement IxxTrunc{U/S}Fxx bound checks. 2019-04-11 09:14:29 +08:00
Syrus Akbary
c19bd58b5a
Merge pull request #340 from wasmerio/feature/add-examples
Added lua, php and sqlite wasm examples 🎉
2019-04-10 18:07:45 -07:00
losfair
02a305cfbe Fix function pointer offset for resolver. 2019-04-11 08:44:18 +08:00
bors[bot]
72b9939331 Merge #334
334: Added longjmp implementation r=syrusakbary a=syrusakbary

Added longjmp implementation

Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Lachlan Sneff <lachlan.sneff@gmail.com>
2019-04-11 00:26:30 +00:00
Syrus
d4eacb4c84 Only test clif emscripten on nightly 2019-04-10 17:15:47 -07:00
Syrus
fba279f9d5 Updated lua example 2019-04-10 14:34:58 -07:00
Lachlan Sneff
1cb3fbea0a Add support for panicking/returning err back to llvm 2019-04-10 14:17:10 -07:00
bors[bot]
870faf9838 Merge #341
341: feat(runtime-core) `Instance.exports` takes `&self` instead of `&mut self` r=lachlansneff a=Hywan

There is no reason for `exports` to take a mutable reference. This patch rewrites the `Instance.export` signature a little bit.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2019-04-10 19:22:12 +00:00
Ivan Enderlin
20297d1751 feat(runtime-core) Instance.exports takes &self instead of &mut self.
There is no reason for `exports` to take a mutable reference.
2019-04-10 12:17:16 -07:00
losfair
4e09bda745 Fix calling convention. 2019-04-11 02:54:23 +08:00
Syrus
ddded622b4 Improved README with extra examples 2019-04-10 11:34:18 -07:00