Commit Graph

612 Commits

Author SHA1 Message Date
losfair
8019505e65 Merge remote-tracking branch 'origin/feature/clif-cgapi' into feature/metering 2019-05-31 15:40:05 +08:00
losfair
b834b4ff36 Metering for LLVM. 2019-05-31 15:36:08 +08:00
Mark McCaskey
281c5ff45d fix bugs in em mapdir, improve it for relative paths, use it more 2019-05-29 14:20:52 -07:00
Mark McCaskey
fc15bc58f6 add mapdir for emscripten; implement getdents, etc. 2019-05-24 18:00:07 -07:00
losfair
9919dd73c8 Merge remote-tracking branch 'origin/master' into feature/metering 2019-05-23 20:18:11 +08:00
Mark McCaskey
3052a10aeb add warning if mapdir is used with emscripten 2019-05-20 16:49:49 -07:00
Mark McCaskey
7cc967e709 flip order of args in mapdir 2019-05-20 16:46:08 -07:00
Mark McCaskey
be4dd453c2 clean up and fix bugs 2019-05-20 16:39:02 -07:00
Mark McCaskey
f9beef276d implement map-dir for WASI; fix bug in path_open 2019-05-16 17:35:13 -07:00
losfair
14fcd78b30 Update bin/wasmer and run cargo fmt. 2019-05-17 01:15:05 +08:00
Syrus
82bf7ea147 Improved error messages when running on a specific loader 2019-05-15 10:35:43 -07:00
losfair
408f89ccd6 Rename loader:kwasm to loader:kernel for consistency. 2019-05-15 22:17:31 +08:00
losfair
6df4e40121 Cargo fmt 2019-05-15 21:43:38 +08:00
losfair
d72abf3203 Rename kwasm-loader to wasmer-kernel-loader. 2019-05-15 21:43:19 +08:00
losfair
d75a2925af Fix compilation issue on Windows. 2019-05-14 20:00:36 +08:00
losfair
5ec931ef83 Fix kwasmd compilation 2019-05-14 17:26:46 +08:00
losfair
32f9aee6fe Cargo fmt 2019-05-14 16:04:08 +08:00
losfair
722ea39877 Cleanup loader code. 2019-05-14 16:02:27 +08:00
losfair
db9705f00c Merge remote-tracking branch 'origin/master' into feature/remote-code-load 2019-05-14 15:46:15 +08:00
Brandon Fish
2aefa731a6 Add deny for unreachable patterns and unused unsafe 2019-05-12 00:33:02 -05:00
Brandon Fish
85158ac22a Add some initial deny for unused_imports and unused_variables
Additional unused variable fix on unix

Remove unused import on unix

Remove unused windows import
2019-05-11 09:23:25 -05:00
Heyang Zhou
620a6ddd85 Disable memory bound checking for kernel loader. 2019-05-08 10:25:29 -07:00
Heyang Zhou
0bbd6e6970 Fix function offset. 2019-05-07 08:25:46 -07:00
Heyang Zhou
61510f8116 Enforce runtime memory and stack bound check when using kernel loader. 2019-05-06 07:15:30 -07:00
Syrus
eef28c19b7 Fixed emscripten entrypoint name 2019-05-05 12:13:35 -07:00
Heyang Zhou
7bc09ee220 kwasmd. 2019-05-05 09:32:35 -07:00
Heyang Zhou
c4e4efc694 kwasm imports 2019-05-04 08:28:13 -07:00
Heyang Zhou
af58ea5642 Kernel mode code loading. 2019-05-03 23:07:07 -07:00
Mark McCaskey
353ff60c0f add misc changes while debugging 2019-05-03 17:34:57 -07:00
Mackenzie Clark
7104e1c963 create wasmer dir on install for windows 2019-05-02 15:29:35 -07:00
losfair
14bfd75ac9 Code loader framework. 2019-05-03 00:23:41 +08:00
Mackenzie Clark
6af87c1b5b add images to installer and add wapm bin dir to path 2019-04-30 09:21:08 -07:00
Brandon Fish
da807ed2a1 Remove unused imports 2019-04-29 23:40:16 -05:00
Lachlan Sneff
53c576fe48 remove run_instance function 2019-04-22 16:54:58 -07:00
Lachlan Sneff
2038eec4ae Merge branch 'feature/wasi-return-exit-code' of github.com:wasmerio/wasmer into feature/wasi-return-exit-code 2019-04-22 16:48:47 -07:00
Lachlan Sneff
260c0acec6 Format wasmer.rs 2019-04-22 16:48:44 -07:00
Lachlan Sneff
9c825509c8
Merge branch 'master' into feature/wasi-return-exit-code 2019-04-22 16:48:24 -07:00
Lachlan Sneff
76f4798436 Hook up wasi exit code to wasmer cli 2019-04-22 16:45:36 -07:00
Mark McCaskey
e8b2660eb7 greatly simplify logic -- thanks Lachlan! 2019-04-22 16:14:12 -07:00
Mark McCaskey
51cf0d1be7 reduce suggested backends to the ones compiled into wasmer 2019-04-22 16:03:04 -07:00
Mark McCaskey
5e504b77cd add support for more complex paths in path_open 2019-04-19 12:48:29 -07:00
Mark McCaskey
35f8d69d4b fix typo; thanks Kerollmops! 2019-04-19 09:26:47 -07:00
Mark McCaskey
19e830d25a fix memory access in WasmPtr 2019-04-18 17:48:14 -07:00
Mark McCaskey
7e58c4258c Merge remote-tracking branch 'origin/master' into feature/preopen-fd-and-more 2019-04-18 15:43:02 -07:00
Mark McCaskey
9ae3559da4 add hidden option to specify command name 2019-04-12 11:17:02 -07:00
Lachlan Sneff
a100b2a72e feature cfg away singlepass and llvm backends in cli 2019-04-11 15:31:02 -07:00
Lachlan Sneff
81807712d8 Enable llvm backend 2019-04-11 14:44:43 -07:00
Lachlan Sneff
4740b2467f Add backend selection to cli 2019-04-11 14:34:54 -07:00
Syrus
b724dd0a9b Fix format 2019-04-11 13:17:19 -07:00
Syrus
d67bfdb2c5 Renamed dynasm backend to singlepass 2019-04-11 12:44:03 -07:00