Commit Graph

37 Commits

Author SHA1 Message Date
Syrus Akbary
9a8d3a2546 Fixed formatting 2018-12-28 12:38:39 +01:00
Mackenzie Clark
e7cf5cb5b1 use default values for gnu library extension fields
no extra clone


no mut warning
2018-12-27 20:15:01 -08:00
Mackenzie Clark
cb65c9dad6 refactor localtime functions to use time crate
lint fixes
2018-12-27 09:41:29 -08:00
Mackenzie Clark
2107df3c99 only support clock id 0 2018-12-27 06:57:00 -08:00
Mackenzie Clark
4813047d37 clock_gettime with time crate and test
more lint
2018-12-26 16:58:23 -08:00
Syrus
2d5a1fd170 Merge branch 'master' into feature/run-lua-wasm
# Conflicts:
#	src/apis/emscripten/env.rs
#	src/apis/emscripten/mod.rs
#	src/apis/emscripten/process.rs
#	src/apis/emscripten/syscalls.rs
2018-12-18 09:43:36 -08:00
Brandon Fish
fd94c2df86 Add more argument info to debug messages 2018-12-17 23:54:00 -06:00
Brandon Fish
572115f140 Initial format using rustfmt 2018-12-15 00:46:11 -06:00
Brandon Fish
0b69d8465b Fix build warnings unused imports 2018-12-13 19:58:31 -06:00
Steve Akinyemi
05aa3bc62a Fixing get_env 2018-12-14 00:11:48 +01:00
Steve Akinyemi
7f91a64cf6 Add a bunch of required functions and syscalls 2018-12-13 19:28:30 +01:00
Steve Akinyemi
fa1d602e26 Revert edition 2018-12-11 21:13:43 +01:00
Steve Akinyemi
cdf56f2865 Refactor localtime_r 2018-12-11 20:42:29 +01:00
Steve Akinyemi
899bd5c919 Fix failing compilation 2018-12-11 19:24:47 +01:00
Steve Akinyemi
877c13979a Fix localtime_r issue caused by temp var 2018-12-11 19:04:46 +01:00
Steve Akinyemi
2b1dac4d7d Refactor code 2018-12-11 18:06:20 +01:00
Steve Akinyemi
6f632e615f Add impl for asctime_r 2018-12-11 17:05:07 +01:00
Steve Akinyemi
2b81d88b58 Fixing _localtime_r 2018-12-08 01:38:51 +01:00
Syrus
80f76f79b5 Improved localtime formatting 2018-12-07 14:00:19 -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 Akbary
adee7d42db Improved debug! in all emscripten calls 2018-11-28 22:02:25 -08:00
Syrus Akbary
80ddc759a1 Formatted files 2018-11-28 13:25:56 -08:00
Syrus Akbary
02477b6e5e Added support for conditional emscripten 2018-11-28 13:25:17 -08:00
Syrus Akbary
c2ede37a72 Improved formatting 2018-11-26 20:29:26 -08:00
Syrus Akbary
50f6ea3bd4 Fixed all Rust warnings 2018-11-26 20:28:13 -08:00
Steve Akinyemi
5d64349894 Merge branch 'feature/compile-and-run-nginx-wasm' of https://github.com/wafoundation/wasmer into feature/compile-and-run-nginx-wasm 2018-11-26 23:28:01 +01:00
Steve Akinyemi
be07767faf Add GuestTm 2018-11-26 23:27:56 +01:00
Syrus Akbary
0ba5f1ecb7 Added mock for _strftime 2018-11-26 14:16:51 -08:00
Syrus Akbary
bef9f075f0 Removed duplicated emscripten time functions 2018-11-26 13:45:38 -08:00
Syrus Akbary
ab740aa37c Merge branch 'feature/compile-and-run-nginx-wasm' of github.com:wasmerio/wasmer into feature/compile-and-run-nginx-wasm
# Conflicts:
#	src/apis/emscripten/mod.rs
2018-11-26 13:30:55 -08:00
Steve Akinyemi
27f642a891 Merge changes 2018-11-26 22:20:10 +01:00
Steve Akinyemi
3f819e3a79 Move some functions to utils 2018-11-26 22:15:49 +01:00
Lachlan Sneff
bd3b78ccc8 Add several more syscalls 2018-11-26 16:07:42 -05:00
Lachlan Sneff
ec9e83eca6 Add a few more syscalls 2018-11-26 16:07:30 -05:00
Syrus Akbary
5911ac58c0 Added _clock_gettime emscripten implementation 2018-11-26 12:28:20 -08:00