Ivan Enderlin
|
1f1ecb7e00
|
test(runtime-c-api) Use calloc and simplify code.
|
2019-09-06 10:20:36 +02:00 |
|
Ivan Enderlin
|
a67ce539ef
|
test: Fix CS.
|
2019-09-05 15:10:09 +02:00 |
|
Ivan Enderlin
|
86ec75fd98
|
chore(runtime-c-api) Update C & C++ headers.
|
2019-09-05 15:09:21 +02:00 |
|
Ivan Enderlin
|
a2343f9f0d
|
test(runtime-c-api) Fully test all kind of exports.
|
2019-09-05 15:08:23 +02:00 |
|
Ivan Enderlin
|
2d63e25075
|
feat(runtime-c-api) Arity cannot be negative when calling wasmer_export_func_call .
|
2019-09-05 14:31:43 +02:00 |
|
Syrus
|
d8471e2b6a
|
Improved docs with custom logo and favicon
|
2019-09-03 17:06:31 -07:00 |
|
dependabot-preview[bot]
|
8a2017cce3
|
Bump cbindgen from 0.9.0 to 0.9.1
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases)
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES)
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.9.0...v0.9.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-09-02 09:11:25 +00:00 |
|
Syrus
|
bc990cc18a
|
Updated Runtime C API comments
|
2019-09-01 08:52:19 -07:00 |
|
Syrus
|
998a25e2d1
|
Fixed windows tests
|
2019-08-25 00:24:21 -07:00 |
|
Yaron Wittenstein
|
86a3a75fe7
|
adding to llvm-backend feature: "wasmer-runtime/default-backend-llvm"
|
2019-08-22 17:21:13 +03:00 |
|
Yaron Wittenstein
|
ad49e98183
|
Merge branch 'master' into c-api-cargo-singlepass-feature
|
2019-08-22 17:09:29 +03:00 |
|
Yaron Wittenstein
|
dd705d8031
|
Cargo.toml - building singlepass-backend without default features works
|
2019-08-22 16:36:01 +03:00 |
|
Yaron Wittenstein
|
4fcf61f3a0
|
Cargo.toml - fix
|
2019-08-22 15:52:23 +03:00 |
|
Yaron Wittenstein
|
0d888824cd
|
Cargo.toml - renaming features
|
2019-08-22 14:36:12 +03:00 |
|
Ivan Enderlin
|
6403159b57
|
Merge branch 'master' into doc-runtime-c-api-exports-1
|
2019-08-22 13:29:54 +02:00 |
|
Ivan Enderlin
|
a9bb8fea16
|
doc(runtime-c-api) Fix a typo.
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
|
2019-08-22 13:29:26 +02:00 |
|
Ivan Enderlin
|
8ad181f94c
|
doc(runtime-c-api) Fix a typo.
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
|
2019-08-22 13:29:11 +02:00 |
|
Yaron Wittenstein
|
2c3e5f06d0
|
Cargo.toml - renaming feature default-backend-singlepass to singlepass .
|
2019-08-22 14:23:13 +03:00 |
|
Yaron Wittenstein
|
0b84d9b5af
|
Cargo.toml - installing cranelif by default.
|
2019-08-22 13:24:25 +03:00 |
|
Yaron Wittenstein
|
ad0cf47812
|
Merge branch 'develop' into c-api-cargo-singlepass-feature
|
2019-08-22 11:05:08 +03:00 |
|
Yaron Wittenstein
|
e6387ec7c3
|
Merge branch 'master' into c-api-cargo-singlepass-feature
|
2019-08-22 11:02:57 +03:00 |
|
Brandon Fish
|
6372e0947c
|
Fix more bare dyn traits in runtime-c-api
|
2019-08-10 11:20:22 -06:00 |
|
Syrus
|
ea5affc05d
|
Remove svm mentions in wasmer c api codebase
|
2019-08-05 11:49:16 -07:00 |
|
Yaron Wittenstein
|
8d583ad4d4
|
runtime-c-api: Cargo.toml - adding default-features=false for wasmer-runtime and wasmer-runtime-core dependencies
|
2019-08-03 22:47:36 +03:00 |
|
Yaron Wittenstein
|
a06fa40faa
|
runtime-c-api: adding feature default-backend-singlepass to Cargo.toml
|
2019-08-03 22:03:21 +03:00 |
|
Yaron Wittenstein
|
9e51c39144
|
Cargo.toml - configuring singlepass feature
|
2019-08-03 11:54:59 +03:00 |
|
Syrus Akbary
|
17b5082c9b
|
Merge pull request #621 from wasmerio/feature/add-deny-dead_code-lint
Add deny dead_code lint and fix one error
|
2019-08-02 13:36:53 -07:00 |
|
Yaron Wittenstein
|
eed3b28eab
|
comment cleanup
|
2019-08-02 22:54:00 +03:00 |
|
Brandon Fish
|
2f70a199e4
|
Add deny dead_code lint and fix one error
|
2019-08-01 20:46:35 -06:00 |
|
Yaron Wittenstein
|
f64eee894e
|
[FIX] test-context.c imports contains now the expected mul import too
|
2019-08-01 19:31:33 +03:00 |
|
Yaron Wittenstein
|
3f4ffb0e2d
|
Merge branch 'develop' into c-api-import_object_t
|
2019-08-01 18:15:21 +03:00 |
|
Yaron Wittenstein
|
524585942a
|
deleting test-context binary
|
2019-08-01 17:24:51 +03:00 |
|
Yaron Wittenstein
|
09d704d053
|
Merge branch 'master' into c-api-extract-instance_context-from-instance
|
2019-08-01 14:08:47 +03:00 |
|
Yaron Wittenstein
|
f73180f45e
|
wasmer-c-api:
* adding `wasmer_import_object_new` and `wasmer_import_object_extend`
* adding test file `test-module-import-instantiate.c`
|
2019-08-01 14:06:25 +03:00 |
|
Syrus
|
70a767e204
|
Improved exported memory tests
|
2019-08-01 01:28:11 -07:00 |
|
Syrus
|
2c6fbcba1f
|
Improved runtime_c_api_tests
|
2019-08-01 01:27:36 -07:00 |
|
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 |
|
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
|
ebce7d0371
|
Updated dependencies
|
2019-07-31 23:42:54 -07:00 |
|
Syrus
|
6245daaa84
|
Update dependencies to latest versions
|
2019-07-31 23:04:03 -07: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 |
|
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 |
|
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 |
|
Yaron Wittenstein
|
784e65d587
|
making wasmer_byte_array fields public
|
2019-07-29 17:24:43 +03:00 |
|