Yaron Wittenstein
|
ab76755ade
|
runtime-c-api:
* import.rs - adding `import_object_t` and `wasmer_import_object_destroy`
* instance.rs - adding `wasmer_module_import_instantiate`
|
2019-08-01 10:48:03 +03:00 |
|
Mark McCaskey
|
a12d0ada1a
|
add wasi::fd_pread test
|
2019-08-01 16:38:34 +09:00 |
|
Syrus
|
676bccff3c
|
Tryin gto make c_api_tests verbose mitigates the flaky error
Each time `make capi` is run, there is a flaky error:
```
Running target/release/deps/runtime_c_api_tests-3df0f74fcea1252d
running 1 test
test test_c_api ... FAILED
failures:
---- test_c_api stdout ----
Running command: `cmake` arg: Some(".")
output:
status: 0
stdout:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/syrusakbary/Development/wasmer/lib/runtime-c-api/tests
stderr:
Running command: `make` arg: Some("-Wdev -Werror=dev")
output:
status: 0
stdout:
[ 7%] Built target test-tables
[ 15%] Built target test-module-exports
[ 23%] Built target test-module-imports
[ 30%] Built target test-globals
[ 38%] Built target test-imports
[ 46%] Built target test-module
[ 53%] Built target test-module-serialize
[ 61%] Built target test-memory
[ 69%] Built target test-validate
[ 76%] Built target test-import-function
[ 84%] Built target test-instantiate
[ 92%] Built target test-exports
[100%] Built target test-exported-memory
stderr:
Running command: `make` arg: Some("test")
output:
status: 2
stdout:
Running tests...
Test project /Users/syrusakbary/Development/wasmer/lib/runtime-c-api/tests
Start 1: test-exported-memory
1/13 Test #1: test-exported-memory .............Child aborted***Exception: 0.00 sec
Start 2: test-exports
2/13 Test #2: test-exports ..................... Passed 0.01 sec
Start 3: test-globals
3/13 Test #3: test-globals ..................... Passed 0.00 sec
Start 4: test-import-function
4/13 Test #4: test-import-function ............. Passed 0.01 sec
Start 5: test-imports
5/13 Test #5: test-imports ..................... Passed 0.01 sec
Start 6: test-instantiate
6/13 Test #6: test-instantiate ................. Passed 0.01 sec
Start 7: test-memory
7/13 Test #7: test-memory ...................... Passed 0.00 sec
Start 8: test-module
8/13 Test #8: test-module ...................... Passed 0.01 sec
Start 9: test-module-exports
9/13 Test #9: test-module-exports .............. Passed 0.01 sec
Start 10: test-module-imports
10/13 Test #10: test-module-imports .............. Passed 0.01 sec
Start 11: test-module-serialize
11/13 Test #11: test-module-serialize ............ Passed 0.01 sec
Start 12: test-tables
12/13 Test #12: test-tables ...................... Passed 0.00 sec
Start 13: test-validate
13/13 Test #13: test-validate .................... Passed 0.00 sec
92% tests passed, 1 tests failed out of 13
Total Test time (real) = 0.08 sec
The following tests FAILED:
1 - test-exported-memory (Child aborted)
stderr:
Errors while running CTest
make[1]: *** [test] Error 8
thread 'test_c_api' panicked at 'Command failed with exit status: ExitStatus(ExitStatus(512))', lib/runtime-c-api/tests/runtime_c_api_tests.rs:43:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
```
|
2019-08-01 00:22:52 -07:00 |
|
Syrus
|
0dfa1f68a8
|
Formatted code
|
2019-07-31 23:51:12 -07:00 |
|
Syrus
|
ebce7d0371
|
Updated dependencies
|
2019-07-31 23:42:54 -07:00 |
|
Syrus
|
a6461c3b14
|
Removed explicit hashbrown dependency
|
2019-07-31 23:18:38 -07:00 |
|
Syrus
|
6245daaa84
|
Update dependencies to latest versions
|
2019-07-31 23:04:03 -07:00 |
|
Mark McCaskey
|
d24c4a9c1a
|
Merge branch 'feature/more-wasi-syscalls' of github.com:wasmerio/wasmer into feature/more-wasi-syscalls
|
2019-08-01 14:58:59 +09:00 |
|
Mark McCaskey
|
e6f188286b
|
Implement wasi::fd_pread
|
2019-08-01 14:58:17 +09:00 |
|
Yaron Wittenstein
|
3a84288fd9
|
Merge branch 'master' into c-api-extract-instance_context-from-instance
|
2019-08-01 08:54:52 +03:00 |
|
Yaron Wittenstein
|
dd91a8208a
|
changes after PR review https://github.com/wasmerio/wasmer/pull/602#pullrequestreview-269368270
|
2019-08-01 08:48:20 +03:00 |
|
Mark McCaskey
|
61d72a179b
|
implement updating times in wasi::fd_filestat_set_times
|
2019-08-01 14:06:28 +09:00 |
|
Mark McCaskey
|
bca1ffc8d6
|
Merge branch 'master' into feature/more-wasi-syscalls
|
2019-07-31 21:41:19 -07:00 |
|
Mark McCaskey
|
a824d8d4d8
|
Implement wasi::{fd_allocation, fd_filestat_set_size}
|
2019-08-01 13:34:42 +09:00 |
|
Syrus
|
a83b6eccfa
|
Fixed middleware linting
|
2019-07-31 21:24:46 -07:00 |
|
Syrus
|
5e7a20ef94
|
Improved metering codebase
|
2019-07-31 21:20:39 -07:00 |
|
bors[bot]
|
33166eaf66
|
Merge #607
607: Feature/update wasmparser and clif fork deps r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
|
2019-08-01 02:28:35 +00:00 |
|
Brandon Fish
|
a832a4c787
|
Merge branch 'master' into wasmer-c-api-error-visibility
|
2019-07-31 19:58:23 -06:00 |
|
Brandon Fish
|
d9e1609616
|
Merge branch 'master' into wasmer-c-api-changes
|
2019-07-31 19:15:39 -06:00 |
|
Mark McCaskey
|
20e424c11e
|
update wasmparser and clif-fork dependencies
|
2019-08-01 10:13:25 +09:00 |
|
nlewycky
|
54b5c642dc
|
Merge branch 'master' into features/llvm-metering
|
2019-07-31 13:13:07 -07:00 |
|
Nick Lewycky
|
931d556de1
|
Add support for internal fields.
|
2019-07-31 13:10:51 -07:00 |
|
Nick Lewycky
|
0e1fedceef
|
Fix build of metering_benchmark with the llvm backend.
|
2019-07-31 13:04:40 -07:00 |
|
Syrus
|
fccf68c734
|
Updated version to 0.6.0
|
2019-07-31 10:28:45 -07:00 |
|
Yaron Wittenstein
|
0fb7eb1e19
|
tests/test-context.c - destroying resources in the end
|
2019-07-31 14:48:22 +03:00 |
|
Yaron Wittenstein
|
f6b5f1ba1b
|
wasmer-c-api: adding asserts to tests/test-context.c
|
2019-07-31 14:32:38 +03:00 |
|
Yaron Wittenstein
|
351977690b
|
adding a document for wasmer_instance_context_get
|
2019-07-31 14:15:16 +03:00 |
|
Yaron Wittenstein
|
847dd6f65e
|
c-api: adding wasmer_instance_context_get (instance.rs )
|
2019-07-31 14:12:25 +03:00 |
|
Mark McCaskey
|
7760d5a4a2
|
simplify example and make public get_wasi_state unsafe
|
2019-07-31 15:59:08 +09:00 |
|
Syrus Akbary
|
6a4091e78e
|
Merge branch 'master' into feature/no-mem-uninit
|
2019-07-30 22:28:56 -07:00 |
|
Mark McCaskey
|
0ab8a0de09
|
Remove all uses of mem::uninitialized for Rust 1.38
|
2019-07-31 13:21:20 +09:00 |
|
Mark McCaskey
|
b407633366
|
add logging to plugin example, improve swap, and add some consts
|
2019-07-31 12:51:55 +09:00 |
|
Mark McCaskey
|
c099ed54e9
|
Merge branch 'master' into feature/public-api-wasi-fs
|
2019-07-30 19:26:19 -07:00 |
|
Mark McCaskey
|
620a521690
|
clean up wasi fs public api changes
|
2019-07-31 09:58:39 +09:00 |
|
Syrus Akbary
|
0256a6eb88
|
Merge branch 'master' into features/llvm-windows
|
2019-07-30 17:38:36 -07:00 |
|
bors[bot]
|
7106a4f3cc
|
Merge #599
599: Fix llvm backend failures in fat spec tests and simd_binaryen spec test. r=syrusakbary a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: nlewycky <nick@wasmer.io>
|
2019-07-31 00:13:23 +00:00 |
|
Syrus
|
97c6956d98
|
Added llvm in windows support to Changelog
|
2019-07-30 15:56:25 -07:00 |
|
nlewycky
|
9b815cb518
|
Merge branch 'master' into features/llvm
|
2019-07-30 15:50:55 -07:00 |
|
Nick Lewycky
|
c42f47da34
|
Adjust simd_binaryen.wast until it works with LLVM except for known issues.
This doesn't yet work as of this commit, we'll need to pick up a new version of wasmparser.rs too.
|
2019-07-30 15:47:00 -07:00 |
|
Syrus
|
22f8b3f3dc
|
Improved LLVM compilation for Unix
|
2019-07-30 15:32:21 -07:00 |
|
Syrus
|
89178732cc
|
Fixed unix errors
|
2019-07-30 15:23:03 -07:00 |
|
Syrus
|
180e4766fe
|
Merge branch 'master' into features/llvm-windows
|
2019-07-30 15:09:21 -07:00 |
|
Nick Lewycky
|
bdb1c4c44e
|
Fix inkwell assertion due to treating vector as float. Fix llvm backend fatal error due to missing support for fminimum/fmaximum.
|
2019-07-30 14:59:04 -07:00 |
|
Syrus Akbary
|
12f8f3d085
|
First working version of LLVM in Windows
|
2019-07-30 14:47:53 -07:00 |
|
Nick Lewycky
|
3e7545a278
|
Fix the Trunc[SU] operations, makes conversions.wast pass.
|
2019-07-30 12:42:25 -07:00 |
|
losfair
|
4f56703657
|
Support runtime tier switching.
|
2019-07-30 22:25:58 +08:00 |
|
losfair
|
283676af2b
|
Add .clone() to fix singlepass.
|
2019-07-30 22:25:37 +08:00 |
|
losfair
|
0a7f95ee06
|
Allow a range of instruction offsets to be used in ip lookup.
|
2019-07-30 22:25:15 +08:00 |
|
Mark McCaskey
|
741fffedb0
|
fix metering benchmark
|
2019-07-30 15:59:21 +09:00 |
|
Mark McCaskey
|
fba09bef1a
|
Add useful functions for external use of WASI filesystem
|
2019-07-30 14:53:42 +09:00 |
|