Commit Graph

1821 Commits

Author SHA1 Message Date
Brandon Fish
dd3a6ad21b Merge branch 'master' into feat-runtime-c-api-strict-c-cpp 2019-03-07 23:06:01 -06:00
Brandon Fish
628caf0a74 Make import_func_new/destroy not const 2019-03-07 22:59:11 -06:00
Syrus Akbary
60a74540d9
Update README.md 2019-03-07 20:39:58 -08:00
Syrus Akbary
b321ca339b
Update README.md 2019-03-07 20:39:44 -08:00
Syrus Akbary
b1a52bc8ff
Merge pull request #239 from wasmerio/feature/llvm-backend
LLVM-based compiler backend
2019-03-07 19:49:06 -08:00
Syrus
3866f8fd73 Updated test script 2019-03-07 19:32:04 -08:00
Syrus
4acb826bf2 Fixed default compiler on windows 2019-03-07 19:11:29 -08:00
Syrus
3a4325c5a3 Only use llvm in non windows envs 2019-03-07 18:26:29 -08:00
Syrus
7c2667ab0b Updated README 2019-03-07 18:06:53 -08:00
Syrus
671ff09e6a Use LLVM 5 for Windows 2019-03-07 18:06:47 -08:00
Lachlan Sneff
679fdc14c2
Merge branch 'master' into feature/llvm-backend 2019-03-07 13:25:24 -08:00
Syrus Akbary
6570bd433d
Fixed import func to be mutable 2019-03-07 10:19:03 -08:00
Syrus Akbary
58e48ba310
Merge pull request #247 from Hywan/feat-runtime-c-api-staticlib
feat(runtime-c-api) Ask `rustc` to generate a static library.
2019-03-07 09:56:17 -08:00
Syrus Akbary
5f52f36d3c
Merge pull request #246 from wasmerio/Hywan-patch-2
fix(github) Remove a duplicate issue template
2019-03-07 09:55:39 -08:00
losfair
12c213739a Hack around calling imports. Not yet working. 2019-03-08 01:31:37 +08:00
Ivan Enderlin
7a9816ff12 feat(runtime-c-api) Ask rustc to generate a static library.
This is required to correctly link to the embedded runtime.
2019-03-07 10:19:02 +01:00
Ivan Enderlin
9a95aaae15
fix(github) Remove a duplicate issue template 2019-03-07 10:17:15 +01:00
Ivan Enderlin
1dfae80c65 test(runtime-c-api) Fix compilation errors in test-exports.c. 2019-03-07 10:15:32 +01:00
Ivan Enderlin
725aff6fee test(runtime-c-api) Fix a compilation error in test-instantiate.c. 2019-03-07 10:15:32 +01:00
Ivan Enderlin
603f1fc57d test(runtime-c-api) Fix compilation errors in test-import-function.c. 2019-03-07 10:15:32 +01:00
Ivan Enderlin
2a0e42c1e5 test(runtime-c-api) Fix compilation errors in test-memory.c. 2019-03-07 10:15:32 +01:00
Ivan Enderlin
dcb4032e9d test(runtime-c-api) Fix compilation errors in test-imports.c. 2019-03-07 10:15:32 +01:00
Ivan Enderlin
c658224f0c test(runtime-c-api) Transforms all C/C++ warnings into errors.
This patch ensures that all our examples and tests do not generate
warnings. In C, it can be catastrophic sometimes…

Also, be sure that the `cmake` command doesn't emit any warnings too.
2019-03-07 10:15:32 +01:00
Brandon Fish
cad4110e10 Fix typo in Makefile test-emscripten 2019-03-06 23:58:07 -06:00
Brandon Fish
1957ddef53 Run emscripten tests with both compilers 2019-03-06 21:36:46 -06:00
Syrus Akbary
af9c26f4f9
Fixed links of wasmer runtime C api in crates.io and docs.rs 2019-03-06 18:22:16 -08:00
Syrus Akbary
6fae46d0d3
Improved bug report to get more info about the environment
Based on this feedback: https://github.com/wasmerio/wasmer/pull/243#pullrequestreview-211289058
2019-03-06 18:18:58 -08:00
Syrus Akbary
d0b42dd458
Merge pull request #243 from wasmerio/Hywan-patch-1
chore(github) Update issue templates
2019-03-06 18:08:09 -08:00
Syrus Akbary
49dc21363b
Merge pull request #242 from Hywan/doc-runtime-c-api
doc(runtime-c-api) Improve the `README.md`.
2019-03-06 17:28:02 -08:00
Syrus Akbary
acf2bc2722
Merge pull request #233 from wasmerio/feature/emscripten-for-bundling
implement more emscripten functions
2019-03-06 17:26:58 -08:00
Syrus
e63515279f Try to use LLVM_SYS_70_PREFIX for appveyor 2019-03-06 16:35:23 -08:00
Syrus
58897aba5a Try to use LLVM path uniformily for appveyor 2019-03-06 16:18:35 -08:00
Syrus
a0ff2733ce Go back to the appveyor build folder 2019-03-06 16:03:25 -08:00
Syrus
bd76a276fc Fixed path 2019-03-06 15:57:38 -08:00
Syrus
9812fa09c7 Trying custom LLVM install in windows appveyor 2019-03-06 15:49:35 -08:00
Syrus
0540c50b87 Use LLVM 5.0 instead of the default one 2019-03-06 15:27:41 -08:00
Syrus
95c90f84b7 Added LLVM to the PATH in windows appveyor 2019-03-06 15:13:38 -08:00
Lachlan Sneff
9f589de031 Reset Cargo.lock 2019-03-06 13:53:06 -08:00
Lachlan Sneff
e3e91c628b
Merge branch 'master' into feature/llvm-backend 2019-03-06 13:47:15 -08:00
Lachlan Sneff
334a1310df Change nginx integration just to test it it starts 2019-03-06 13:28:07 -08:00
Lachlan Sneff
9f93ac2fe5 Fix integration tests 2019-03-06 13:18:30 -08:00
Lachlan Sneff
8f2d90186d Fix circleci config 2019-03-06 12:45:42 -08:00
Lachlan Sneff
fd99ed60bf Split tests into spectests/code-tests and emscripten tests 2019-03-06 12:44:19 -08:00
Mackenzie Clark
fd5916e493
Merge branch 'master' into feature/emscripten-for-bundling 2019-03-06 10:18:26 -08:00
Mackenzie Clark
b1739d93ec remove leading underscores from execvp and exit 2019-03-06 10:18:00 -08:00
Ivan Enderlin
bedb05738b
Merge branch 'master' into doc-runtime-c-api 2019-03-06 18:50:49 +01:00
Ivan Enderlin
ec1a16512c
Merge pull request #238 from Hywan/feat-runtime-c-api-headers-in-out-dir
feat(runtime-c-api) Generate the C/C++ header files in `OUT_DIR` (+ copy in `CARGO_MANIFEST_DIR`).
2019-03-06 18:50:29 +01:00
Ivan Enderlin
145c6e1f18
Update ---bug-report.md 2019-03-06 15:55:16 +01:00
Ivan Enderlin
86644ed89f
chore(github) Update issue templates
This patch provides issue templates. It's a mix between Github defaults, and https://github.com/rustwasm/wasm-bindgen templates.

Thoughts?
2019-03-06 14:53:10 +01:00
Ivan Enderlin
f5ce1e8b60 doc(runtime-c-api) Improve the README.md.
This patch updates the `README.md` by adding badges, a Usage Section,
and a License Section. The Testing Section is slightly revamped.
2019-03-06 14:11:12 +01:00