Commit Graph

242 Commits

Author SHA1 Message Date
losfair
87f4183440 Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64 2019-11-22 09:09:01 +08:00
losfair
ee7b0d625a Skip push/pop code version on Windows. 2019-11-22 08:07:24 +08:00
Mark McCaskey
36a26717c2
Merge branch 'master' into feature/add-support-for-new-wasi 2019-11-21 10:58:05 -08:00
Mark McCaskey
be217e8f8e Update from feedback, fix CI issues, update wasi-test 2019-11-21 10:57:04 -08:00
losfair
4dd810bbac Ensure code version metadata is pushed properly. 2019-11-22 02:23:51 +08:00
losfair
73cc86de0c Fix compilation errors with cranelift. 2019-11-21 23:37:17 +08:00
losfair
5f26fcd633 Make cranelift optional and enable singlepass by default on aarch64. 2019-11-21 23:31:10 +08:00
losfair
df43759a67 Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64 2019-11-21 23:12:37 +08:00
Syrus
dc01afb3b5 Use structopt clap instead of global clap 2019-11-20 17:28:43 -08:00
Syrus
a71b9519c4 Fix lint issues 2019-11-20 17:19:42 -08:00
Syrus
274367b152 Fixed CLI arguments issue 2019-11-20 17:15:20 -08:00
Mark McCaskey
76e346b708 Clean up from feedback, update changelog 2019-11-20 15:50:46 -08:00
Mark McCaskey
b2d19e1f51 Merge branch 'master' into run-without-run 2019-11-20 15:47:40 -08:00
Mark McCaskey
cb7fcb9452 Simplify default run logic 2019-11-20 15:14:25 -08:00
Syrus
1685455eb6 Allow to do wasmer execution without the run argument 2019-11-20 14:50:37 -08:00
losfair
28ebe5f758 Rustfmt 2019-11-20 01:56:13 +08:00
losfair
d56fd96395 Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64 2019-11-20 01:54:34 +08:00
losfair
93f096b726 Fix lint errors when singlepass is disabled. 2019-11-20 01:52:33 +08:00
Mark McCaskey
344132cc89
Merge branch 'master' into feature/singlepass-sign-extension 2019-11-18 11:38:12 -08:00
Mark McCaskey
8b6a7b77fc Clean up from feedback 2019-11-18 11:36:49 -08:00
losfair
08beb99baa Fix popcnt. 2019-11-17 05:15:10 +08:00
losfair
1db6425cd5 Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64 2019-11-17 04:36:22 +08:00
Mark McCaskey
7631aee4f4 Add sign extension spec tests; add sign extension to singlepass 2019-11-15 21:54:34 -08:00
anb
3b2d751c55 Enable compilation for specific target
By exposing the target information through `CompilerConfig`,
compiler(only LLVM at the moment) could create a machine with
different CPU feature flags other than current host, which makes it
capable to "cross compile" to some degree.

Update #959
2019-11-15 18:51:59 -08:00
Syrus
3d3636059a Revert "Improved wasmer invoke based on feedback"
This reverts commit f3b7c6b321.
2019-11-15 14:04:48 -08:00
Syrus
f3b7c6b321 Improved wasmer invoke based on feedback 2019-11-15 10:41:18 -08:00
Syrus
7b3093ff7f Added invoke option to the command 2019-11-14 12:07:53 -08:00
Mark McCaskey
f1e5cd39d8 Add support for new WASI snapshot, backwards compat too 2019-11-12 13:01:03 -08:00
losfair
899fbed35d Merge master. 2019-11-11 01:42:43 +08:00
Nick Lewycky
93dc713330 Flip the default for 'track-state' from on to off. The flag is --track-state. 2019-10-22 23:14:42 -07:00
losfair
ba7e2b70ed Add block-trace flag to CLI. 2019-10-13 20:51:48 +08:00
losfair
5499a69ddc Run cargo fmt on everything. 2019-10-13 20:02:47 +08:00
losfair
ad3faa0ba0 Add CallTrace CLI option. 2019-10-11 21:05:59 +08:00
Nick Lewycky
0567845ead cargo fmt 2019-10-08 11:29:03 -07:00
Nick Lewycky
ebd71672e0 Pass llvm debug flags to the llvm backend.
This was accidentally removed in 124ad73e8a .
2019-10-08 11:23:18 -07:00
losfair
b5bb3fa764 Move {push,pop}_code_version to caller side for non-mananged execution. 2019-10-08 18:41:22 +08:00
Mark McCaskey
afbde49d1f Update stub wasi generate import object fn
Fix typo

Fix debug issue
2019-10-02 13:16:47 -07:00
Mark McCaskey
2e860e589a Add builder API for WasiState 2019-09-30 15:26:04 -07:00
Patrick Ventuzelo
5b3333c6f5 fix unwrap by handling parse error 2019-09-25 21:52:45 +02:00
Syrus
62f76b1d5e Simplified error message 2019-09-22 18:35:26 -07:00
Syrus
88b2bbc44f Improved error message 2019-09-22 18:29:13 -07:00
Syrus
9942d3ae98 Improved Emscripten / WASI autodetection 2019-09-22 18:23:22 -07:00
losfair
574e4c477f Print return value from pure WASM binary. 2019-09-17 00:54:34 +08:00
Johan Andersson
ad70caff83 Remove colored CLI output from runtime-core lib.
When the colored output was originally added in https://github.com/wasmerio/wasmer/pull/489 and there was a discussion then about that it should ideally be in a higher-level crate rather than in the runtime-core library crate.

I agree with that, users of the library shouldn't be required to bring in the colored crate dependency and ideally also not have stdout/stderr output either, that should be controlled by the application that uses wasmer-runtime-core, not the library.

Disabling stdout/stderr output would be more intrusive but I wanted to at least not have colored output and another crate dependency so this change removes the colored output and the "colored" crate.
2019-09-15 03:21:04 +02:00
Nick Lewycky
ecf39f814a Wasmer run can run text wat files, not webassembly spectest files. 2019-09-12 20:56:11 -07:00
Mark McCaskey
cb750e053d Update to Structopt 0.3.1 and update Run subcommand to rm raw, etc 2019-09-06 16:42:10 -07:00
Patrick Ventuzelo
7dd496c490
Update src/bin/wasmer.rs
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
2019-09-03 17:06:56 +02:00
Patrick Ventuzelo
cdba7e55e5
Update src/bin/wasmer.rs
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
2019-09-03 17:06:37 +02:00
Patrick Ventuzelo
4406fbb6f3 replace panics with return Err() 2019-09-02 12:12:35 +02:00
losfair
c7377a465f Merge remote-tracking branch 'origin/master' into feature/llvm-osr 2019-08-21 15:49:25 -07:00