Mark McCaskey
c77cbc1f40
Prepare for 0.8.0 release
2019-10-02 15:40:35 -07: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
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
0f4d266e4e
Prepare for 0.7.0 release
2019-09-12 12:44:38 -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
Syrus
d8471e2b6a
Improved docs with custom logo and favicon
2019-09-03 17:06:31 -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
losfair
56e735349d
Format everything
2019-08-21 15:23:56 -07:00
losfair
bf9d915635
Fix a few issues from PR comments.
2019-08-21 14:53:33 -07:00
losfair
124ad73e8a
Merge remote-tracking branch 'origin/master' into feature/llvm-osr
2019-08-19 13:06:59 -07:00
Nick Lewycky
cca419c982
Add the --enable-threads flag and thread it as far as runtime-core.
2019-08-19 10:51:14 -07:00
losfair
dbaa000e96
Re-enable snapshotting.
2019-08-16 13:08:10 -07:00
Brandon Fish
03cabce2d5
Fix emscripten table assertion panic
2019-08-16 09:12:46 -06:00
Brandon Fish
bccbbb3d8b
Add deny nonstandard-style and unused-mut lints
2019-08-15 20:18:29 -06:00
losfair
98ef9182d7
Run clang-format and cargo fmt
2019-08-14 16:35:40 -07:00
losfair
0e0573c73c
Merge remote-tracking branch 'origin/master' into feature/llvm-osr
2019-08-14 16:33:26 -07:00
losfair
d61a8bb6d2
Prevent continueing execution on unreliable stack. (LLVM register save area information is missing)
2019-08-10 03:10:12 +08:00
losfair
2e89f02191
Cargo fmt
2019-08-10 02:44:44 +08:00
losfair
03665fe74a
Add CLI option for optimized backends.
2019-08-10 02:43:21 +08:00
losfair
b8c18215aa
Refactor tier switching code
2019-08-10 02:32:14 +08:00
Syrus
d39d4b5f6d
Remove structopt dependency from LLVM
2019-08-08 19:42:41 -07:00
Nick Lewycky
b2c4501357
Add support for backend flags. Backend flags are opaque to src/bin/wasmer.rs.
...
Use them to implement three features in the LLVM backend, getting a valid ELF object file, the post-optimization LLVM IR and the pre-optimization LLVM IR.
Presently they are also global to the backend which is not ideal.
2019-08-08 17:05:31 -07:00
losfair
c1619026d5
Swap code lazily when tiering up from singlepass to LLVM.
...
Does not handle long-running functions, but should work at least.
2019-08-09 04:26:17 +08:00
Syrus Akbary
7b54ce2690
Merge branch 'master' into feature/windows-env
2019-08-05 14:34:33 -07:00
Syrus Akbary
e0f98ea6a6
Added support for setting environment variables. Fixed #394
2019-08-05 14:33:17 -07:00
Brandon Fish
2f70a199e4
Add deny dead_code lint and fix one error
2019-08-01 20:46:35 -06:00
Syrus
a6461c3b14
Removed explicit hashbrown dependency
2019-07-31 23:18:38 -07:00
Syrus
89523e0186
Move media into installer dir
2019-07-31 14:48:48 -07:00
Syrus
253b2198fb
Improved Wasmer Installer in Windows
2019-07-31 14:09:01 -07:00
losfair
4f56703657
Support runtime tier switching.
2019-07-30 22:25:58 +08:00
Mark McCaskey
741fffedb0
fix metering benchmark
2019-07-30 15:59:21 +09:00
bors[bot]
e0e92dbb79
Merge #594
...
594: Improvement cache in Windows r=syrusakbary a=syrusakbary
Caching was disabled on Windows, but can be re-enabled easily by improving the folder cache naming.
Reason why caching was disabled on Windows: We use a very long string (64 chars) for the wasmer version (hash). But we can use the version directly (no need to hashing)
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-07-30 01:36:44 +00:00
Syrus Akbary
714bf6ab6b
Fixed imports
2019-07-29 18:35:59 -07:00
Syrus Akbary
a056da1c15
Fixed lint
2019-07-29 18:32:49 -07:00
Syrus Akbary
6e3fda247e
Fix usage of Wasmer Version
2019-07-29 18:31:57 -07:00
Syrus Akbary
98b20d9240
Fixed Caching in Windows lint and improved code
2019-07-29 18:29:20 -07:00
Syrus Akbary
7bceb08b64
Added tests
2019-07-29 18:25:12 -07:00
Syrus Akbary
c69bbd3334
Fixed lint
2019-07-29 17:54:27 -07:00
Syrus Akbary
13901cc665
Improvement cache in Windows
2019-07-29 17:33:50 -07:00
Nick Lewycky
86316c474a
Use --enable-simd to control whether SIMD is enabled in the wasmparser.
...
Before this change, 'wasmer run --backend=llvm some-simd.wasm' would run without complaint.
Also, note that the flag is not part of the cache key, so after any successful run, we can run it again without passing the flag.
2019-07-29 12:11:23 -07:00
losfair
efb5277d1d
Stack parsing now works with LLVM.
2019-07-27 02:50:49 +08:00