Commit Graph

178 Commits

Author SHA1 Message Date
losfair
af8f307a92 Fix dependencies. 2019-03-18 16:14:11 +08:00
losfair
08f4526b45 Merge remote-tracking branch 'origin/master' into feature/dynasm-backend 2019-03-17 21:14:01 +08:00
Mackenzie Clark
d95b62a467 fix cargo toml and fmt 2019-03-13 14:27:00 -07:00
Mackenzie Clark
bd697487aa Merge branch 'master' into feature/vfs 2019-03-13 14:25:14 -07:00
Brandon Fish
557be77338 Merge branch 'master' into feature/dynasm-backend 2019-03-12 20:58:22 -05:00
Mackenzie Clark
f2488ac410 remove feature flag on custom sections 2019-03-12 13:36:11 -07:00
Mackenzie Clark
f7f4fbf08a add the feature flag for llvm backend 2019-03-12 11:59:50 -07:00
Mackenzie Clark
cc3f04efd7 expose vfs in emscripten and impl read syscall, feature flag 2019-03-12 10:48:47 -07:00
Mackenzie Clark
f014a05304 create runtime abi crate and vfs implementation 2019-03-12 10:40:52 -07:00
Mackenzie Clark
ee55cd5e64 create an llvm flag 2019-03-11 09:58:09 -07:00
Mackenzie Clark
80ac7af2b0 remove unnecessary conditional compilation in cargo file for windows 2019-03-08 11:52:24 -08:00
Syrus
3a4325c5a3 Only use llvm in non windows envs 2019-03-07 18:26:29 -08:00
Lachlan Sneff
4e198bca8b merge upstream/master into wasmer-private/feature/llvm-backend 2019-03-04 13:03:32 -08:00
Syrus
60f8f15db3 Updated version to 0.2.1 2019-02-27 17:20:49 -08:00
Syrus
f7197bf456 Added debug build 2019-02-26 15:39:54 -08:00
Syrus Akbary
fa596d2d23
Update Cargo.toml 2019-02-22 17:38:28 -08:00
Lachlan Sneff
df03d00e74 Merge upstream/master into feature/llvm-feature 2019-02-22 14:14:46 -08:00
Brandon Fish
768a2fae18 Merge branch 'master' into feature/c-api 2019-02-15 19:12:30 -06:00
Lachlan Sneff
2d87f64f82 Merge master into feature/llvm-backend 2019-02-14 15:47:28 -08:00
Mackenzie Clark
6a1fdb7f91
add windows exception handling in C (#175) 2019-02-14 09:58:33 -08:00
Lachlan Sneff
327e3a4a1a Implement many wasm instructions 2019-02-09 15:53:40 -08:00
losfair
9649219578 Initial work on WebAssembly parser for Dynasm backend. 2019-02-08 23:56:14 +08:00
Brandon Fish
5ebea9672c Initial commit of C API library 2019-01-31 23:51:34 -06:00
Brandon Fish
3d62fc88ca Move spectests to their own library 2019-01-29 16:58:16 -06:00
Lachlan Sneff
38b0fbf3c5
Generate trampolines to call exported functions instead of using libffi (#108)
* remove codegen.rs

* Add export trampolines and remove libffi

* Remove unused extern crates
2019-01-22 15:00:27 -08:00
Brandon Fish
74875ed554 Library restructure (#104)
* Move wasmer-runtime to wasmer-runtime-core

* Add the runtime library

* Fix issue with macros using wasmer_runtime, fmt

* Make default compiler dependency optional

* Add instantiate and validate functions
2019-01-22 11:02:06 -08:00
Brandon Fish
321abe6644 Merge branch 'feature/vm_refactor' into fix/vm_refactor_esmcripten_integration 2019-01-17 23:20:56 -06:00
Syrus
620f40c144 Make build and tests pass again by skipping emscripten 2019-01-17 17:44:33 -08:00
Lachlan Sneff
f5ab605878 Change authors listing to "The Wasmer Engineering Team <engineering@wasmer.io>" 2019-01-17 16:19:31 -08:00
Syrus
de459fa5bd Isolated emscripten in new lib 2019-01-10 21:38:10 -08:00
Brandon Fish
c3a3461367 Use a cargo workspace 2019-01-09 20:06:33 -06:00
Brandon Fish
14c9512cf4 Remove old src/runtime and src/compilers directories 2019-01-09 00:49:11 -06:00
Brandon Fish
696bc9a0a9 Merge branch 'master' into feature/vm_refactor 2018-12-28 15:15:24 -06:00
Brandon Fish
8d8f20a11c Merge branch 'master' into feature/add-emscripten-core-tests 2018-12-27 10:30:41 -06:00
Brandon Fish
8921385fbb Update emtests to glob for c/cpp files, use ignores.txt to exclude tests, disable cc out by default 2018-12-27 01:43:38 -06:00
Lachlan Sneff
3861fe98c6 Add typesafe wasm export calls 2018-12-26 20:42:23 -05:00
Mackenzie Clark
4813047d37 clock_gettime with time crate and test
more lint
2018-12-26 16:58:23 -08:00
Lachlan Sneff
e2a9bd4761
Merge branch 'master' into feature/vm_refactor 2018-12-26 15:51:14 -05:00
Lachlan Sneff
c06c65e7c6 Add preliminary support for imports 2018-12-24 23:05:04 -05:00
Brandon Fish
241f3d4091 Update to latest wasmparser version 2018-12-20 00:35:11 -06:00
Syrus
75046e0e2c Updated version to 0.1.4 2018-12-19 10:14:53 -08:00
Lachlan Sneff
5b920b7953 More backing work 2018-12-18 20:28:15 -05:00
Lachlan Sneff
93f8cdfc81
Update cranelift to 0.26.0. (#64)
* Initial additional modules

* Update to cranelift 0.26.0

* Fixed formatting
2018-12-17 21:30:27 -05:00
Mackenzie Clark
755f3ae690 upgrade to wabt-rs 0.7.2
includes a fix for windows builds, this brings wamer one step closer to windows support
2018-12-16 11:27:55 -08:00
Syrus Akbary
81fb2fbd0b
Merge branch 'master' into feature/runtime-upgrade 2018-12-14 17:41:03 -08:00
Syrus
fd5554c3bd Refactored memory usage to use impl-abstract mmap 2018-12-14 17:32:35 -08:00
Brandon Fish
5d9787ce44 Fix for warnings Pattern matching for Cargo's include changing
warning: Pattern matching for Cargo's include/exclude fields is changing and file `emtests/README.md` WILL be included in a future Cargo version.
See https://github.com/rust-lang/cargo/issues/4268 for more info
warning: Pattern matching for Cargo's include/exclude fields is changing and file `spectests/README.md` WILL be included in a future Cargo version.
See https://github.com/rust-lang/cargo/issues/4268 for more info
2018-12-13 20:00:11 -06:00
Syrus Akbary
3efc030275
Merge branch 'master' into emtests 2018-12-10 19:21:32 -08:00
Lachlan Sneff
b9b0a655bb
Update to Rust 2018. (#47)
* Run cargo fix --edition

* Add edition="2018" to Cargo.toml
2018-12-10 18:31:08 -05:00
Syrus
e58963dd35 Refactored build outside src 2018-12-09 18:47:34 -08:00
Syrus
bbb2f080cc Updated version to 0.1.3 2018-12-06 20:39:59 -08:00
Lachlan Sneff
bb34f4718e Add initial progress bar 2018-12-05 20:39:06 -05:00
Syrus Akbary
b781d33318 Updated version of wasmer to 0.1.2 2018-12-05 16:18:44 -08:00
Syrus Akbary
27ce10e49e
Update Cargo.toml 2018-12-03 18:06:34 -08:00
Syrus Akbary
65b36eb6ba Trying to use latest version of nix 2018-11-28 13:57:59 -08:00
Lachlan Sneff
4015fb6193 Hack together enough emscripten stack stuff to make it happy 2018-11-25 23:56:21 -05:00
Syrus Akbary
3ea37dcc59 Updated references from wafoundation to wasmerio 2018-11-21 22:19:14 -08:00
Syrus Akbary
f3833dc237 Merge branch 'master' into parallel-compilation
# Conflicts:
#	src/webassembly/instance.rs
2018-11-20 16:30:25 -08:00
Syrus Akbary
c141f8b64c Use local cranelift 2018-11-20 16:19:00 -08:00
Syrus Akbary
a9e46a02d3 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-15 19:40:45 -08:00
Syrus Akbary
2dcd25bebd Make wasmer work with stable Rust 2018-11-15 13:30:32 -08:00
Syrus Akbary
adf6d298b6 Trying to upgrade Cranelift to 0.23 2018-11-14 23:10:35 -08:00
Syrus Akbary
52614de22f Added signal handler to handle WebAssembly traps properly
Please read more about this here: https://github.com/CraneStation/wasmtime/issues/15
Code inspired by: 625a2b6c08
2018-11-06 11:15:40 +01:00
Syrus Akbary
1bc5664e5d Updated spin package 2018-11-05 18:58:57 +01:00
Syrus Akbary
1f8a9d931c Improved speed of tests with a special feature flag 2018-10-30 17:35:11 +01:00
Syrus Akbary
674c62aad5 Fixed tempdir dependency issue with Crates 2018-10-26 00:43:00 +02:00
Syrus Akbary
b5590c21a3 Improved Cargo package licensing & description 2018-10-26 00:43:00 +02:00
Syrus Akbary
d380eede4d Make wasmer publishable 2018-10-26 00:43:00 +02:00
Syrus Akbary
9d02cef0c2 Improved cargo packaging 2018-10-26 00:43:00 +02:00
Syrus Akbary
380e5417d9 Removed unnecessary dependency libffi 2018-10-19 11:46:07 +02:00
Syrus Akbary
a932fef217 Added automatic test generator from wasm spec 2018-10-19 01:29:12 +02:00
Syrus Akbary
e97b47e147 Added ImportObject structure. Added integration tests 2018-10-17 16:08:51 +02:00
Syrus Akbary
daefac46bb Improved tests coverage 2018-10-16 11:18:58 +02:00
Syrus Akbary
1879a14938 All function calls are now working 2018-10-16 03:24:36 +02:00
Syrus Akbary
78cf7800e5 Added function compilation 2018-10-15 02:48:59 +02:00
Syrus Akbary
48fbc850ea Improved runnable options 2018-10-14 23:47:35 +02:00
Syrus Akbary
ac9edf39e6 Improved instance 2018-10-14 13:59:11 +02:00
Syrus Akbary
9bca6940b3 First working version of the interpreter 2018-10-11 21:29:36 +02:00