Commit Graph

1428 Commits

Author SHA1 Message Date
Syrus
914addc1f3 Remove Stdio hack 2018-12-10 19:35:42 -08:00
Syrus
6f179ed4d2 Fixed merge 2018-12-10 19:31:08 -08:00
Syrus Akbary
3efc030275
Merge branch 'master' into emtests 2018-12-10 19:21:32 -08:00
Syrus
028d86a300 Provide instance options when instantiating. Make tests monothreaded 2018-12-10 19:19:46 -08:00
Syrus
43128070b7 Added emtests autogenerated tests 2018-12-10 18:42:23 -08:00
Syrus
5796b172d1 Added emtests 2018-12-10 17:07:13 -08:00
Syrus
44a745e4f5 Added start_instance function 2018-12-10 16:23:14 -08:00
Syrus
707f30757c Added probestack to LibCall 2018-12-10 16:22:56 -08:00
Lachlan Sneff
b9b0a655bb
Update to Rust 2018. (#47)
* Run cargo fix --edition

* Add edition="2018" to Cargo.toml
2018-12-10 18:31:08 -05:00
Syrus
5dac9b489a Added emtests build 2018-12-09 19:21:28 -08:00
Syrus
e58963dd35 Refactored build outside src 2018-12-09 18:47:34 -08:00
Syrus
35c9512569 Added example output 2018-12-09 18:27:50 -08:00
Syrus
b54d42c41b Added basic emscripten tests 2018-12-09 17:50:53 -08:00
Syrus Akbary
f9629018c7
Merge pull request #44 from bjfish/fix-more-clippy-warnings
Fix more clippy warnings
2018-12-09 10:04:16 -08:00
Brandon Fish
e7c4e25e77 Fix clippy warnings returning the result of a let binding from a block 2018-12-09 01:13:47 -06:00
Brandon Fish
a857bca9ea Fix clippy warnings manual implementation of an assign operation 2018-12-09 01:05:22 -06:00
Brandon Fish
6354d3d14f Fix clippy warnings unused imports 2018-12-09 01:02:26 -06:00
Syrus Akbary
ce3b3b412a
Merge pull request #43 from bjfish/fix-some-clippy-warnings
Fix some clippy warnings
2018-12-08 02:22:31 -08:00
Brandon Fish
6fd188a3f7 Fix clippy unused variable: instance 2018-12-08 00:31:49 -06:00
Brandon Fish
a9d95b42c5 Fix unneeded return statement 2018-12-08 00:27:36 -06:00
Brandon Fish
bd55552b4a Fix clippy long literal lacking separators warnings 2018-12-08 00:19:55 -06:00
Brandon Fish
704556e45e Fix redundant_field_names 2018-12-08 00:16:16 -06:00
Steve Akinyemi
2b81d88b58 Fixing _localtime_r 2018-12-08 01:38:51 +01:00
Syrus
dba8961c50 Added basic emscripten tests 2018-12-07 14:55:55 -08:00
Syrus
80f76f79b5 Improved localtime formatting 2018-12-07 14:00:19 -08:00
Syrus
d2f0663f72 Improved README styling 2018-12-07 11:25:31 -08:00
Syrus
418766ef68 Improved docs with installation instructions 2018-12-07 11:21:04 -08:00
Steve Akinyemi
540b5be395 Remove static_top fn 2018-12-07 18:19:28 +01:00
Steve Akinyemi
15e1e5aee0 Fix segfault 2018-12-07 16:37:14 +01:00
Steve Akinyemi
181837d7cc Fix localtime implementation 2018-12-07 14:50:35 +01:00
Syrus
bbb2f080cc Updated version to 0.1.3 2018-12-06 20:39:59 -08:00
Syrus
7aa26acd2f Improved index page 2018-12-06 20:36:19 -08:00
Syrus
42e445ed87 Added a Readme to the Nginx example 2018-12-06 20:31:03 -08:00
Syrus
5ae023d4d4 Added page title to the nginx example 2018-12-06 20:27:07 -08:00
Syrus
78c9c73c77 Improved the Nginx example 2018-12-06 20:26:04 -08:00
Syrus Akbary
3c730d4610
Merge pull request #37 from wasmerio/feature/pass-arguments-to-wasm-application
Pass arguments to wasm application
2018-12-06 19:52:09 -08:00
Lachlan Sneff
a29b480e85 Fixing merge issues 2018-12-06 22:44:16 -05:00
Lachlan Sneff
0e024aa722 Fix crashing cli args 2018-12-06 22:42:16 -05:00
Steve Akinyemi
485da4c701 More debugging 2018-12-07 04:23:18 +01:00
Steve Akinyemi
03cff50a40 Debug segfaulting stackallocation 2018-12-07 03:10:26 +01:00
Lachlan Sneff
28a668f38c Stack allocate arguments 2018-12-06 15:21:58 -05:00
Steve Akinyemi
266ced4311 Abstract arguments extraction into a function 2018-12-06 16:26:27 +01:00
Steve Akinyemi
5b8e4ed4a6 Fix argv allocation 2018-12-06 16:20:02 +01:00
Steve Akinyemi
fcb19f1c98 Remove stub function 2018-12-06 12:51:09 +01:00
Steve Akinyemi
2b3c87e80c Add support for argc/argv 2018-12-06 12:51:09 +01:00
Syrus Akbary
fbc2fc9c50 Make mock func calls non printed in releases 2018-12-05 23:53:41 -08:00
Syrus Akbary
27b4015373 Make progressbar optional 2018-12-05 23:29:27 -08:00
Syrus Akbary
36f70005c9 Improved progress bar style 2018-12-05 23:23:06 -08:00
Syrus Akbary
e20f09c0b7 Make README more attractive 2018-12-05 23:04:19 -08:00
Piotr Sikora
c18065a8f0 Fixed false positives in Emscripten detection. (#35)
Almost all languages targeting WebAssembly create imports from
"env" module by default, which means that Emscripten was being
detected even when it wasn't used.

Use "_emscripten_memcpy_big" as a signal, since it's imported
in all WASM modules produced by Emscripten, even as simple as:

    EMSCRIPTEN_KEEPALIVE
    int
    main(int argc, const char** argv) {
        return 0;
    }

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2018-12-05 21:01:52 -05:00