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
Nick Lewycky
8f417f3d59
Add --enable-simd flag to wasmer run and wasmer validate.
2019-07-26 00:34:02 -07:00
nlewycky
361a027ec9
Only enable SIMD when using the LLVM backend.
...
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
2019-07-24 14:10:09 -07:00
Nick Lewycky
4b77fae991
Temporarily disable kernel-loader by adding a panic! to kwasmd.
...
I expect that the V128 changes have broken kernel-loader because I haven't taken care to ensure that the interface was updated the same way on both sides.
2019-07-22 16:49:21 -07:00
Nick Lewycky
d6546f7ab6
Write out full 128 bit return value.
2019-07-22 16:47:09 -07:00
Nick Lewycky
eeac6d5d2d
Merge branch 'master' of github.com:wasmerio/wasmer into simd
2019-07-16 19:16:45 -07:00
Brandon Fish
ed19fd2913
Update loader-kernel feature name, fix compilation track state, cargo fmt
2019-07-12 23:02:57 -05:00
losfair
08cdc9a42f
Allow disabling state tracking for faster startup.
2019-07-12 23:37:40 +08:00
Nick Lewycky
51556e74da
Turn on parsing of SIMD in .wat files.
2019-07-10 13:48:12 -07:00