Commit Graph

3716 Commits

Author SHA1 Message Date
Mark McCaskey
91b199fe12 Split middleware-common tests into separate subcrate 2019-08-29 11:14:57 -07:00
bors[bot]
569d0386a9
Merge #732
732: Remove fd_entry lookup on stdin,out,err for wasi::poll_oneoff r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-08-29 17:55:36 +00:00
Mark McCaskey
7027d7b2c8 Improve code reuse in polling, reduce cfg usage too 2019-08-29 10:54:27 -07:00
Mark McCaskey
fba6dbff78 Add tests for stdin, stdout, stderr; implement bytes_available too 2019-08-29 10:42:38 -07:00
Syrus
366c6e1efb Improved Azure Pipelines to make the releases 2019-08-28 17:53:33 -07:00
Syrus
a31dae2bf2 Trying to improve InnoSetup 2019-08-28 17:38:01 -07:00
Mark McCaskey
0776da7e22 Remove fd_entry lookup on stdin,out,err for wasi::poll_oneoff 2019-08-28 16:14:14 -07:00
bors[bot]
5205adabf5
Merge #731
731: Always flush when writing, even if we get invalid pointers r=MarkMcCaskey a=MarkMcCaskey

Not exactly an "invalid pointer" but, we were seeing an iovec of length 0 passed in which was causing `__WASI_EFAULT` which was preventing things from flushing properly.

While I was fixing this, I decided to clean it up and make the behavior more obvious by creating a wrapper function.

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-08-28 22:19:16 +00:00
Mark McCaskey
6767087004 Always flush when writing, even if we get invalid pointers 2019-08-28 15:13:30 -07:00
Mark McCaskey
48509e97bd Update plugin example to use serde and typetag for WASI 2019-08-28 14:47:38 -07:00
Mark McCaskey
e4a51484a7 Add wasitests-setup to unit testing because it runs other tests 2019-08-28 13:36:30 -07:00
Mark McCaskey
8a2dba534a Improve error handling, fix probable lifetime issue 2019-08-28 13:19:06 -07:00
Syrus Akbary
7d05d3c0b8
Added wasmr (wasmer in R) to the language integrations 2019-08-28 13:05:48 -07:00
Mark McCaskey
a188e7f652 Add debug code for CI 2019-08-28 11:19:59 -07:00
Mark McCaskey
634aca8b9d Add WASI serializing test 2019-08-28 10:50:59 -07:00
Mark McCaskey
e88a08f973 Use typetag so that we can still use serde 2019-08-27 15:18:12 -07:00
bors[bot]
6892a586b7
Merge #729
729: Add comment explaining why WasmHash is implemented the way it is r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-08-27 21:29:52 +00:00
Mark McCaskey
538bba5638 Add comment explaining why WasmHash is implemented the way it is 2019-08-27 11:50:03 -07:00
Mark McCaskey
51faeed2cf Add serialization for WASI state - wip 2019-08-26 17:11:56 -07:00
Syrus
8dc8291500 Fixed innosetup install 2019-08-25 19:37:35 -07:00
Syrus
1dde19cc83 Added InnoSetup 2019-08-25 19:32:34 -07:00
Syrus
e48da878e3 Fixed rust toolchain for check 2019-08-25 18:19:56 -07:00
Syrus
2b08e19a7a Separate check out of tests 2019-08-25 18:18:12 -07:00
Syrus
4da56d1dc6 Fix C-API on Windows 2019-08-25 17:32:04 -07:00
Syrus
3d787b9124 Small llvm path win fix 2019-08-25 01:33:19 -07:00
Syrus
0d450607cf Trying to fix windows llvm 2019-08-25 01:22:54 -07:00
Syrus
d12c3470af Trying to fix LLVM_PATH_WIN 2019-08-25 01:12:33 -07:00
Syrus
2a1c78cbb8 Added env to LLVM 2019-08-25 01:03:54 -07:00
Syrus
410c113b52 Trying to fix windows LLVM PATH 2019-08-25 01:02:49 -07:00
Syrus
998a25e2d1 Fixed windows tests 2019-08-25 00:24:21 -07:00
Syrus
01f1ad5b30 Trying to fix llvm in windows 2019-08-24 22:19:29 -07:00
Syrus
8243cf0737 Trying to fix azure build 2019-08-24 21:53:11 -07:00
Syrus
8f1a77735d Added sccache log 2019-08-24 13:16:58 -07:00
Syrus
034ffcff5c Use macos for linting 2019-08-24 12:53:16 -07:00
Syrus
8739d9002b Improved Azure pipelines integration 2019-08-24 12:52:39 -07:00
Syrus
a18fdde72c Trying to fix sccache 2019-08-24 12:11:18 -07:00
Syrus
f772dbfbb6 Fixed sccache 2019-08-24 11:57:14 -07:00
Syrus
989e7129ab Use Azure Blog Storage cache 2019-08-24 11:45:44 -07:00
Syrus
abcde5face Trying to simplify cache 2019-08-24 10:22:39 -07:00
Syrus
9411ba64f8 Fixed windows make release llvm 2019-08-24 09:14:15 -07:00
Syrus
ff6b0bb46e Added build step 2019-08-24 08:54:32 -07:00
Syrus Akbary
6b517171de
Merge branch 'master' into feature/azure-pipelines 2019-08-23 21:52:02 -07:00
losfair
212e2be166 Remove -fno-rtti 2019-08-22 22:58:08 -07:00
losfair
613e4de9fc Fix LLVM object loader exceptions. 2019-08-22 18:57:26 -07:00
losfair
dcb16a2ae9 Disable test_indirect_many as a mitigation for issue #717 . 2019-08-22 17:57:22 -07:00
losfair
bdcd73cd63 Unblock signals in LLVM trap handler. 2019-08-22 17:45:52 -07:00
Syrus Akbary
854b2013ea
Merge pull request #716 from wasmerio/fix/install-script-portability
Update install script to use the more potable `=` instead of `==`
2019-08-22 17:26:14 -07:00
losfair
f503764780 Restore previous unwind_state. 2019-08-22 17:22:33 -07:00
Mark McCaskey
c0e6f3bae2 Update install script to use the more potable = instead of == 2019-08-22 17:10:17 -07:00
Syrus Akbary
84588e124a
Merge pull request #714 from wasmerio/feature/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2019-08-22 15:05:12 -07:00