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
Syrus Akbary
9fa190165e
Merge pull request #36 from wasmerio/feature/progressbar
...
Add a progress bar while compiling!
2018-12-05 17:55:41 -08:00
Lachlan Sneff
bb34f4718e
Add initial progress bar
2018-12-05 20:39:06 -05:00
Syrus Akbary
b781d33318
Updated version of wasmer to 0.1.2
2018-12-05 16:18:44 -08:00
Syrus Akbary
e09205a391
Fixed accept socket call
2018-12-05 16:16:17 -08:00
Syrus Akbary
d2d8a0c039
Improved circleci version
2018-12-05 15:15:12 -08:00
Syrus Akbary
92a97d1dd4
Added emscripten _sysconf
2018-12-05 15:14:58 -08:00
Syrus Akbary
21c29de56c
Fixing the git version tag issue
2018-12-03 19:04:25 -08:00
Syrus Akbary
dc52319859
Improving circle build
2018-12-03 18:57:26 -08:00
Syrus Akbary
cc7291562e
Improved GIT_VERSION build checks
2018-12-03 18:53:48 -08:00
Syrus Akbary
3fa24b919f
Merge branch 'master' of github.com:wasmerio/wasmer
2018-12-03 18:32:05 -08:00
Syrus Akbary
57075d012e
Trying to fix the publish release build
2018-12-03 18:31:56 -08:00
Syrus Akbary
aa5a8c6acd
Trying to fix the publish release build
2018-12-03 18:19:50 -08:00
Syrus Akbary
27ce10e49e
Update Cargo.toml
2018-12-03 18:06:34 -08:00
Syrus Akbary
c341257df0
Merge pull request #27 from wasmerio/feature/compile-and-run-nginx-wasm
...
[WIP] Provide necessary APIs needed to run nginx.wasm
2018-12-03 17:48:27 -08:00
Syrus Akbary
0379668f27
Fixed readv by commenting debug! statements
2018-12-01 16:26:17 -08:00
Syrus Akbary
4b2abd631c
Multiple fixes, now http server is responding
2018-12-01 16:14:16 -08:00
Syrus Akbary
0d3134c9fd
Added emscripten _signal, improved chdir implementation
2018-12-01 12:12:04 -08:00
Syrus Akbary
a85e02fe6e
Added ___syscall57 emscripten syscall
2018-12-01 11:33:17 -08:00
Syrus Akbary
d1c8d34270
Fixed emscripten detector
2018-12-01 11:32:24 -08:00
Syrus Akbary
a2a728e8e4
Emscripten writev is now working
2018-11-30 10:37:45 -08:00
Syrus Akbary
7f504c9f5e
Trying to fix ___syscall146
2018-11-29 23:55:36 -08:00
Syrus Akbary
b5e93ecae8
Improved docs on emscripten memory instantiation
2018-11-29 22:46:52 -08:00
Syrus Akbary
4ac6d4838f
Fixed wrong syscalls debug strings
2018-11-29 22:39:45 -08:00
Syrus Akbary
a1b99bdf5d
Merge branch 'master' into feature/compile-and-run-nginx-wasm
2018-11-29 22:31:44 -08:00
Syrus Akbary
a6f47fa17d
Added ___emscripten_environ_constructor initializer
2018-11-29 22:31:24 -08:00
Syrus Akbary
d94e13778a
Added emscripten ___build_environment mock
2018-11-29 21:59:43 -08:00
Syrus Akbary
8a4d26396d
Trying to bypass recovery signal addr issue
2018-11-29 20:55:05 -08:00
Syrus Akbary
948f519a04
Make tests happy again
2018-11-29 20:49:34 -08:00
Syrus Akbary
55b0509654
Mock unimplemented cases for ___syscall54 (ioctl)
2018-11-29 19:43:24 -08:00
Syrus Akbary
0d6d91159e
Merge branch 'feature/compile-and-run-nginx-wasm' of github.com:wasmerio/wasmer into feature/compile-and-run-nginx-wasm
2018-11-29 13:07:26 -08:00
Syrus Akbary
209062d27d
Added debug for nullfuncs
2018-11-29 13:07:20 -08:00
Lachlan Sneff
c881f95eb6
Almost working
2018-11-29 15:49:04 -05:00
Syrus Akbary
adee7d42db
Improved debug! in all emscripten calls
2018-11-28 22:02:25 -08:00
Lachlan Sneff
1db0306b8b
implmented mmap2
2018-11-29 00:11:36 -05:00
Syrus Akbary
d85b7335cd
Added first draft of Wasmer ARCHITECTURE
2018-11-28 16:43:11 -08:00
Syrus Akbary
65b36eb6ba
Trying to use latest version of nix
2018-11-28 13:57:59 -08:00
Syrus Akbary
c9ae2f25b9
Fixed all warnings
2018-11-28 13:29:50 -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
1f49f0358f
Merge branch 'master' into feature/compile-and-run-nginx-wasm
...
# Conflicts:
# src/bin/wasmer.rs
# src/recovery.rs
2018-11-27 23:47:13 -08:00
Syrus Akbary
30f79554e5
Added unwind spectests
2018-11-27 23:38:35 -08:00
Syrus Akbary
836f6c70af
Added memory_trap spectests 💪
2018-11-27 23:35:53 -08:00
Syrus Akbary
48e1849891
Merge pull request #31 from wasmerio/self-update
...
Added self-update command
2018-11-27 23:24:58 -08:00
Syrus Akbary
35b07ea9a3
Updated install script to use .wasmer/wasmer.sh
2018-11-27 23:19:51 -08:00
Syrus Akbary
4d41cbbac6
Merge branch 'master' into self-update
...
# Conflicts:
# src/bin/wasmer.rs
2018-11-27 21:53:33 -08:00
Syrus Akbary
ffe294f4f0
Merge pull request #33 from losfair/wasmer-lib
...
Allow using wasmer as a library and install signal handler only once.
2018-11-27 21:31:30 -08:00
losfair
319bd08905
Install signal handler only once.
2018-11-28 13:21:03 +08:00
losfair
b9714e1ce1
Fix a few warnings
2018-11-28 13:18:23 +08:00
losfair
3815eaf13a
Allow using wasmer as a library.
2018-11-28 13:15:33 +08:00