Commit Graph

1586 Commits

Author SHA1 Message Date
Syrus Akbary
cee1c0ac55
Merge pull request #255 from wasmerio/fix/windows-build-llvm-warning
remove unnecessary conditional compilation in cargo file for windows
2019-03-08 12:51:18 -08:00
Lachlan Sneff
f2fe05b75f
Merge branch 'master' into bors 2019-03-08 12:47:30 -08:00
Mackenzie Clark
80ac7af2b0 remove unnecessary conditional compilation in cargo file for windows 2019-03-08 11:52:24 -08:00
losfair
c5ef0a96e9 Update vm::Ctx. 2019-03-09 02:58:37 +08:00
losfair
c6dfbcd90d Add tests. 2019-03-09 02:58:10 +08:00
losfair
25034ece07 Almost finished indirect calls. 2019-03-09 02:57:23 +08:00
losfair
3efccbe0f7 Support imported globals. 2019-03-09 00:38:13 +08:00
losfair
4c4743e7cd Globals. 2019-03-09 00:32:18 +08:00
losfair
258dea64d8 Fix calling imports. 2019-03-09 00:07:13 +08:00
Ivan Enderlin
8e6358a6ee
Merge branch 'master' into Hywan-patch-2 2019-03-08 15:29:55 +01:00
Ivan Enderlin
afc83d2698
Merge pull request #252 from Hywan/fix-makefile-cpi
chore(makefile) Remove the `capi` target
2019-03-08 15:22:08 +01:00
Ivan Enderlin
a4454ebae8
doc(readme) Fix a typo.
This patch fixes a typo in the C example.
2019-03-08 13:26:04 +01:00
Ivan Enderlin
8823bb09f6 chore(makefile) Remove the capi target.
This target is no longer useful since the C and C++ header files are
generated each time for each build.
2019-03-08 10:31:44 +01:00
Ivan Enderlin
3cfdb868ef feat(bors) Set up Bors. 2019-03-08 10:20:46 +01:00
Syrus Akbary
d3c4733f78
Merge pull request #241 from Hywan/feat-runtime-c-api-strict-c-cpp
test(runtime-c-api) Deny all warnings
2019-03-07 21:36:54 -08:00
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