Commit Graph

765 Commits

Author SHA1 Message Date
Steve Akinyemi
231ed37127 Implement compilation and relocation of functions 2019-01-08 17:26:28 +01:00
Brandon Fish
fe0a146513 Change Instance::new visibility temporarily to workaround compile failure, format 2019-01-07 23:17:30 -06:00
Lachlan Sneff
93a7c49138 Move SigRegistry into module 2019-01-07 23:28:56 -05:00
Syrus Akbary
b44893318c
Merge pull request #89 from wasmerio/feature/fix-localtime_r-for-macos
Fix _localtime_r
2019-01-07 12:49:03 -05:00
Brandon Fish
3e10765148 Fix _localtime_r 2019-01-06 23:31:52 -06:00
Brandon Fish
f57bcc47a1 Remove unused imports 2019-01-06 16:29:45 -06:00
Brandon Fish
2f9119a7f0 Update tests for old runtime removal 2019-01-06 15:45:41 -06:00
Brandon Fish
f714049c61 Remove old runtime and format 2019-01-06 15:21:06 -06:00
Brandon Fish
c0c0ef833a Merge branch 'master' into feature/vm_refactor 2019-01-06 14:47:45 -06:00
Brandon Fish
3c21823cc0 Fix spectest generation 2019-01-06 02:18:49 -06:00
Mackenzie Clark
2eaa8527f2
Merge pull request #85 from wasmerio/feature/copy-stat
copy stat to wasm and support windows
2019-01-03 19:44:28 -08:00
Mackenzie Clark
dc88df016a wrong size field 2019-01-03 18:39:07 -08:00
Brandon Fish
68cb6aaf8c Call malloc, memalign, memset from exports instead of emscripten_data 2019-01-02 20:50:13 -06:00
Mackenzie Clark
802e3ba57f add missing fields 2019-01-02 16:37:19 -08:00
Mackenzie Clark
2a80c200bc keep fields in wasm 2019-01-02 16:37:19 -08:00
Mackenzie Clark
4739060444 new guest stat struct and conditional fields for windows 2019-01-02 16:37:19 -08:00
Mackenzie Clark
92e3717f8c
Merge pull request #87 from wasmerio/hotfix/support-monotonic-clock
use libc clock constants and add macos build
2019-01-01 17:02:36 -08:00
Mackenzie Clark
72ad289a39 fix macos build 2019-01-01 16:53:24 -08:00
Mackenzie Clark
fa63a52ebd build macos on branches 2019-01-01 12:13:53 -08:00
Mackenzie Clark
6b1be83939 remove the integration test 2019-01-01 12:07:09 -08:00
Mackenzie Clark
b60c8424af use clock constants and nginx test 2018-12-31 14:56:28 -08:00
Brandon Fish
a5bafebc83 Convert emscripten imports to new types 2018-12-31 14:55:14 -06:00
Brandon Fish
5f101377ff Update ImportResolver to Option<&Import> 2018-12-31 11:32:39 -06:00
Steve Akinyemi
9af9e75bfd Add signatures conversion 2018-12-31 14:20:05 +01:00
Steve Akinyemi
95dc292637 Merge changes from bjfish 2018-12-31 10:11:54 +01:00
Steve Akinyemi
26fa2e88c0 Complete FuncEnvironment implementation 2018-12-31 10:10:12 +01:00
Brandon Fish
2551a18ed4 Implement make_direct_func, add mock func resolver 2018-12-31 00:05:47 -06:00
Steve Akinyemi
6d4c1ecdef Implement parts of FuncEnvironment 2018-12-31 02:22:57 +01:00
Brandon Fish
b27c6241bb Fix style warning: redundant field names 2018-12-30 16:55:28 -06:00
Brandon Fish
25fd370792 Add wasm validation to compiler 2018-12-30 15:06:52 -06:00
Steve Akinyemi
e2a2e9a7b2 Fix build 2018-12-30 12:41:06 +01:00
Steve Akinyemi
caa8f011db Merge changes 2018-12-30 12:35:19 +01:00
Steve Akinyemi
f802dd4f12 Add global conversion 2018-12-30 12:10:53 +01:00
Steve Akinyemi
77b100138d Add global impl 2018-12-30 11:20:24 +01:00
Lachlan Sneff
4bfebaf83b format spectests 2018-12-30 01:01:33 -05:00
Lachlan Sneff
3547eb2a0e Change Val to Value 2018-12-30 01:00:19 -05:00
Brandon Fish
354ff1ecad Update main and tests to use refactor (#84)
* Update main and tests to use refactor

* Updates to make tests compile

* Update CraneliftCompiler -> Cranelift

* Workaround latest imports and instance changes

* Change is_emscripten_module back to reference

* Fix is_emscripten_module references

* Update f32 and f64 test values, create slice without vec!
2018-12-29 21:42:03 -05:00
Brandon Fish
c54516b695 Fix compilation 2018-12-29 14:26:59 -06:00
Lachlan Sneff
faf41e295c Add FuncResolver and ImportResolver traits 2018-12-29 15:23:52 -05:00
Steve Akinyemi
8a19b042f8 Add change in mod.rs 2018-12-29 19:40:25 +01:00
Steve Akinyemi
af3bfadbd1 Improve cranelift module 2018-12-29 19:37:38 +01:00
Steve Akinyemi
dcbdb08eb4 Add some cranelift codegen 2018-12-29 14:00:01 +01:00
Brandon Fish
4a7560dcd3 Document Compiler trait 2018-12-28 16:09:10 -06:00
Lachlan Sneff
a5b4cc21f6 Change order of Map type params and globalinit to Initializer 2018-12-28 16:40:50 -05:00
Brandon Fish
696bc9a0a9 Merge branch 'master' into feature/vm_refactor 2018-12-28 15:15:24 -06:00
Syrus Akbary
2ee910416d Trying to fix failures in build-mac tests 2018-12-28 13:59:55 +01:00
Syrus Akbary
1ba8ebb2b1
Merge pull request #82 from wasmerio/feature/add-emscripten-core-tests
Add Emscripten core tests
2018-12-28 13:18:49 +01:00
Syrus Akbary
76d2d80169
Merge branch 'master' into feature/add-emscripten-core-tests 2018-12-28 12:42:41 +01:00
Syrus Akbary
b5a0560f53
Merge pull request #83 from wasmerio/feature/localtime-time
refactor localtime functions to use time crate
2018-12-28 12:41:13 +01:00
Syrus Akbary
9a8d3a2546 Fixed formatting 2018-12-28 12:38:39 +01:00