Commit Graph

572 Commits

Author SHA1 Message Date
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
Mark McCaskey
91af7cf8a8 add preopened fd and fix/improve fs syscalls (WIP) 2019-04-10 18:23:25 -07:00
Mark McCaskey
91d7416680 fix master; add some emscripten calls 2019-04-05 10:04:39 -07:00
Mark McCaskey
03b529d3d1
Merge branch 'master' into add-validate 2019-04-03 21:35:23 -07:00
Mark McCaskey
bda5b19098 update wasm-parser dep; use it for validation 2019-04-03 17:21:57 -07:00
Mark McCaskey
2ac7b6408c add validate subcommand 2019-04-03 16:52:37 -07:00
Mackenzie Clark
e9e7a33317 fix warnings and let it build on windows 2019-04-03 16:50:15 -07:00
Mark McCaskey
0b9fc5ab45 add null termination to args for wasi 2019-04-02 14:13:03 -07:00
Mark McCaskey
514432c05a call wasi files correctly 2019-03-29 10:58:56 -07:00
Mark McCaskey
9478ba71af actually fix it 2019-03-28 15:47:00 -07:00
Mark McCaskey
46f90d3415 fix conditional compliation 2019-03-28 15:42:34 -07:00
Mark McCaskey
ce22818c35 add feature gate on import 2019-03-28 14:22:28 -07:00
Mark McCaskey
3c01c11f01 pass args and env vars to wasi 2019-03-28 13:24:15 -07:00
Mark McCaskey
72dd995522 fix typo 2019-03-28 12:21:44 -07:00
Mark McCaskey
bc863fcf0c hook up wasi to wasmer 2019-03-28 12:19:23 -07:00
Mark McCaskey
315d8286c4 clean up (second pass) 2019-03-27 14:08:17 -07:00
Mark McCaskey
09068c1a74 clean up implementation 2019-03-27 14:01:27 -07:00
Mark McCaskey
9c58bed344 add support for symbol maps 2019-03-26 16:41:40 -07:00
losfair
395161acdc Merge remote-tracking branch 'origin/master' into feature/dynasm-backend 2019-03-20 19:54:29 +08:00
Mark McCaskey
31cc4b7662 add help text to cache commands 2019-03-19 12:13:23 -07:00
Mark McCaskey
cd9ef3c49a fix bugs and clean up path logic 2019-03-19 11:31:45 -07:00
Mark McCaskey
8253862935 fix panic when cleaning with no cache dir 2019-03-19 11:08:14 -07:00
Mark McCaskey
8e5f250ed0 generate the hash at compile time 2019-03-19 10:58:58 -07:00
Mark
874b613f56 fmt it 2019-03-18 17:46:06 -07:00
Mark
2580871f63 update the binary too 2019-03-18 17:40:36 -07:00
losfair
b94c04649a Remove println. 2019-03-18 16:08:43 +08:00
losfair
6c40ea1cb5 Cargo fmt more files. 2019-03-18 00:35:55 +08:00
Syrus
53a8fca4d5 Make wasmer executable work with dynasm 2019-03-16 11:52:11 -07:00
Brandon Fish
557be77338 Merge branch 'master' into feature/dynasm-backend 2019-03-12 20:58:22 -05:00
David Calavera
ea3d5b04d4
Remove debug option from run command.
I was looking into the code and I noticed that this option is not used.
The `debug!` macro is used across the codebase, which looks more ideal.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2019-02-28 19:16:22 -08:00
Mackenzie Clark
deac24c0bd fix windows installer 2019-02-25 12:06:23 -08:00
Mackenzie Clark
9aa6380460 lol 2019-02-25 11:53:15 -08:00
Mackenzie Clark
2f51694815 no caching on windows 2019-02-25 11:47:03 -08:00
losfair
b18595f2dc Pass command-line arguments to wasm as i32. 2019-02-25 23:39:12 +08:00
Syrus
13e1cb1169 Added a —disable-cache cli flag for wasmer run 2019-02-22 12:01:03 -08:00
Syrus
fdb2a67579 Added cache into standalone app 2019-02-22 11:42:36 -08:00
Mackenzie Clark
14e5fb0e76 move the installer and update appveyor 2019-02-20 13:58:30 -08:00
Mackenzie Clark
5948fa1d20
Fix/windows installer (#178) 2019-02-14 15:30:42 -08:00
Mackenzie Clark
6a1fdb7f91
add windows exception handling in C (#175) 2019-02-14 09:58:33 -08:00
Mackenzie Clark
d82155f558 pass reference to imports object when instantiating 2019-02-04 14:26:48 -08:00
Brandon Fish
30caeb0810 Merge branch 'master' into fix/emscripten-translate 2019-01-29 23:07:32 -06:00