Commit Graph

2343 Commits

Author SHA1 Message Date
Jesús Leganés-Combarro 'piranna
34e16d4a84 Move ucontext related functions to their own namespace 2019-05-20 22:54:58 +02:00
Jesús Leganés-Combarro 'piranna
8995060f9b Mocks for _getcontext, _makecontext, _setcontext and _swapcontext 2019-05-19 20:53:24 +02:00
Jesús Leganés-Combarro 'piranna
f8cfb04e29 _alarm() 2019-05-19 20:24:49 +02:00
Jesús Leganés-Combarro 'piranna
2eb5ca1e48 _gai_strerror() 2019-05-19 20:16:00 +02:00
Jesús Leganés-Combarro 'piranna
7690febe77 getnameinfo() 2019-05-19 19:37:57 +02:00
Jesús Leganés-Combarro 'piranna
ad8178bb2a [pthread] rwlock_destroy(), rwlock_init() and rwlock_wrlock() 2019-05-19 19:16:04 +02:00
Syrus
b1fa60e44a Use appveyor repo tag 2019-05-18 13:26:32 -07:00
Syrus
520e8f7227 Trying to improve appveyor 2019-05-18 12:42:59 -07:00
Syrus Akbary
933d22523a
Building wapm with appveyor 2019-05-18 12:18:54 -07:00
Syrus Akbary
973f9350b2
Update .appveyor.yml 2019-05-18 12:11:33 -07:00
Syrus Akbary
ff7cb0532e
Trying to improve appveryor deploys 2019-05-18 12:04:23 -07:00
Syrus Akbary
c55571e0e6
Fix macos release using latest wapm instead of pinned version 2019-05-18 00:38:31 -07:00
bors[bot]
edae361689 Merge #452
452: add wasi regression test system r=MarkMcCaskey a=MarkMcCaskey

TODO:
- [x] clean up dependency on emscripten
- [x] clean up dependencies on compiler backends (maybe make a separate testing crate?)

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-17 23:12:09 +00:00
Mark McCaskey
4760840a77 move stdout capture from runtime core to dev-utils 2019-05-17 15:48:30 -07:00
Mark McCaskey
542e47ff82 add more wasi tests 2019-05-17 15:31:02 -07:00
Mark McCaskey
faa4d058ec rm fallback cache in circle CI 2019-05-17 14:18:58 -07:00
Mark McCaskey
d50b7c498d move wasi tests to nightly section 2019-05-17 14:08:29 -07:00
Mark McCaskey
eb97235a99 fix typo; reorder wasi tests 2019-05-17 13:56:38 -07:00
Mark McCaskey
f03fbdbbb2 install the wasi toolchain and latest nightly in CI 2019-05-17 13:53:22 -07:00
Mark McCaskey
f3288489ba Add wasi integration tests; disable integration tests from all test 2019-05-17 13:42:21 -07:00
Mark McCaskey
b3b5716dbb add files in runtime_Core 2019-05-17 13:31:41 -07:00
Mark McCaskey
ec9c5360ef move stdio capture into runtime_core; rm emscripten dep in wasi 2019-05-17 13:30:10 -07:00
Mark McCaskey
b9bb310215 add wasi regression test system 2019-05-17 12:09:31 -07:00
Syrus
4ddffb8285 Update libraries versions to 0.4.2 2019-05-16 14:39:13 -07:00
Syrus Akbary
14089fcf37
Fixes fetching latest wapm 2019-05-16 14:23:43 -07:00
Syrus
7f41d57188 Updated version to 0.4.2 2019-05-16 13:09:41 -07:00
bors[bot]
4e5ac24517 Merge #416
416: Remote code loading framework. r=losfair a=losfair



Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Heyang Zhou <zhy20000919@hotmail.com>
2019-05-16 02:44:49 +00:00
losfair
100039afd6 Merge remote-tracking branch 'origin/master' into feature/remote-code-load 2019-05-16 09:28:02 +08:00
losfair
a17795478c Rename wasi-networking to echo-server. 2019-05-16 09:24:06 +08:00
losfair
b28992932e Rename wasmer-kernel-net to kernel-net. 2019-05-16 09:22:40 +08:00
bors[bot]
88124d926e Merge #449
449: avoid opening files when not needed in WASI, check for write permissions r=MarkMcCaskey a=MarkMcCaskey

resolves #438 

Follow up to  #448.  Turns out we don't have to complect things in that way, we can just be more conservative about opening files and granting write permissions

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-15 22:18:10 +00:00
Mark McCaskey
83deae80dc update changelog; clean up 2019-05-15 15:16:52 -07:00
Mark McCaskey
b2752735db avoid opening files when not needed in WASI, check for write permissions 2019-05-15 15:11:29 -07:00
bors[bot]
245cc32937 Merge #446
446: apply base path update to wasi::path_filestat_get r=MarkMcCaskey a=MarkMcCaskey

resolves #434 (again)

causes `path_filestat_get` to start at the base path calculated from the fd passed in.  This technique was applied to `path_open` but didn't make it to `path_filestat_get`, this fixes that

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-15 18:00:16 +00:00
Syrus
0ab8a045b9 Re-enable circleci cache 2019-05-15 10:41:44 -07:00
Syrus
82bf7ea147 Improved error messages when running on a specific loader 2019-05-15 10:35:43 -07:00
Syrus
720d984d9e Make kernel loader available by default 2019-05-15 10:35:09 -07:00
Syrus
3bbf7753cb Renamed kwasm-net to wasmer-kernel-net 2019-05-15 10:34:56 -07:00
Mark McCaskey
ace7a19a7b apply base path update to wasi::path_filestat_get 2019-05-15 10:25:31 -07:00
losfair
408f89ccd6 Rename loader:kwasm to loader:kernel for consistency. 2019-05-15 22:17:31 +08:00
losfair
13b4fe3f38 Temporarily disable caching for macos test. 2019-05-15 21:56:28 +08:00
losfair
a1a58d4a50 Merge remote-tracking branch 'origin/master' into feature/remote-code-load 2019-05-15 21:44:11 +08:00
losfair
6df4e40121 Cargo fmt 2019-05-15 21:43:38 +08:00
losfair
d72abf3203 Rename kwasm-loader to wasmer-kernel-loader. 2019-05-15 21:43:19 +08:00
bors[bot]
6b43a6a313 Merge #445
445: Better README.md link target for "WASI" r=Hywan a=Uzume

Just updating the link target for "WASI" in the readme.

Co-authored-by: Uzume <uzume@users.osdn.me>
2019-05-15 11:29:30 +00:00
Uzume
fea565c248
Better link target for "WASI" 2019-05-15 04:02:04 -07:00
bors[bot]
03671ab5ac Merge #442
442: Fix/misc wasi fs issues r=MarkMcCaskey a=MarkMcCaskey

resolves #434 

Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-05-15 00:40:50 +00:00
Mark McCaskey
216d09b7c7 Merge branch 'fix/misc-wasi-fs-issues' of github.com:wasmerio/wasmer into fix/misc-wasi-fs-issues 2019-05-14 17:40:09 -07:00
Mark McCaskey
c402c0350c return EIO if internal data structures are corrupt 2019-05-14 17:39:19 -07:00
bors[bot]
0815a75561 Merge #443
443: Return impl Compiler from default_compiler to fix compilation features r=bjfish a=bjfish

runtime compilation was failing (llvm/singlepass features) for the new compiler implementations for the `default_compiler` function due to changing types and state being added to the compilers.

This PR:
- adds runtime library tests for these features to catch the regression earlier
- refactors `default_compiler` to return `impl Compiler` and no longer a singleton to fix the compilation issue

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-05-14 23:53:06 +00:00