Commit Graph

200 Commits

Author SHA1 Message Date
Mark McCaskey
a321f73988 Get 2 C API tests using ImportObject::extend working 2020-05-20 16:35:26 -07:00
Mark McCaskey
6b617895b0 Add resolver chaining and recursive resolving 2020-05-20 14:49:30 -07:00
Syrus
b97fad460d Added NamedResolver. Make ImportObject inherit from it 2020-05-20 12:26:21 -07:00
Syrus
d2526adc15 Merge branch 'master' into native-engine
# Conflicts:
#	Cargo.lock
2020-05-19 13:45:54 -07:00
Syrus
7b85c5d4a6 Added native engine feature to wasmer api 2020-05-18 17:49:20 -07:00
Syrus
88b4533832 Merge branch 'master' into native-engine
# Conflicts:
#	Cargo.lock
#	lib/api/src/externals.rs
#	lib/compiler/src/relocation.rs
#	lib/engine-jit/src/link.rs
#	lib/engine/src/engine.rs
2020-05-18 17:26:49 -07:00
Mark McCaskey
d6b5f99a22 Fix more C API tests 2020-05-18 16:33:08 -07:00
Mark McCaskey
02efe20d09 Clean up from feedback 2020-05-12 17:17:17 -07:00
Mark McCaskey
61309d4a40 Add explicit error type for operations on Memory 2020-05-12 14:39:16 -07:00
Syrus
598d90b746 Improved code based on comments 2020-05-11 09:55:24 -07:00
Mark McCaskey
1c60f845c1 Fix memory issue; get all tests but ones creating DynFuncs working 2020-05-08 12:56:42 -07:00
Mark McCaskey
68bf175ddb Get C API compiling 2020-05-06 16:43:54 -07:00
Mark McCaskey
cf3699b37d Merge branch 'master' into add-c-api 2020-05-05 16:22:37 -07:00
Syrus
ab017f3737 Merge branch 'master' into engine
# Conflicts:
#	Cargo.toml
#	lib/api/Cargo.toml
#	lib/api/src/store.rs
2020-05-05 15:24:01 -07:00
Syrus
150639df50 Improved ergonomics when using multiple compilerss 2020-05-05 14:18:45 -07:00
Syrus
c2b74e4c4a Make compiler config even simpler 2020-05-05 13:52:18 -07:00
Syrus
5b87cc7d89 Merge branch 'master' into engine
# Conflicts:
#	lib/engine-jit/src/engine.rs
#	lib/engine/src/serialize.rs
2020-05-04 14:19:53 -07:00
Syrus
a993dc4897 Renamed wasmer::Func to wasmer::Function 2020-05-04 14:00:03 -07:00
Syrus
2997be7d88 Renamed FuncType to FunctionType 2020-05-04 13:34:05 -07:00
Syrus
63760d7802 Fixed linting 2020-05-03 23:25:19 -07:00
Syrus
7dea455c73 Merge branch 'master' into engine
# Conflicts:
#	Cargo.toml
#	lib/api/Cargo.toml
#	lib/api/src/lib.rs
#	lib/engine-jit/src/engine.rs
2020-05-03 23:20:22 -07:00
Syrus
03c77b3cf1 Improved compiler configuration 2020-05-03 23:07:41 -07:00
Syrus
09abc79bf6 Macros don’t work in API but work in common crate 2020-05-03 17:13:07 -07:00
Syrus
a0e3fdb1af Make JIT engine optional in API 2020-05-02 23:06:14 -07:00
Syrus
143d965ac6 Renamed jit to Engine-jit 2020-05-02 19:24:06 -07:00
Syrus
4d9a5291aa Engine is working all the way 🎉 2020-05-02 19:05:48 -07:00
Syrus
d25f47d54d Got half-baked engine 2020-05-02 18:46:30 -07:00
Syrus
4e36cf987b Make compilers feature-configurable 2020-05-02 15:17:18 -07:00
Syrus
e343c9ea9b Make tunables a Trait 2020-05-02 14:32:31 -07:00
Mark McCaskey
e007a2065d Add C API (WIP) 2020-04-30 17:30:41 -07:00
Syrus
0be0624344 Added wasi to the mix 2020-04-29 14:30:19 -07:00
Syrus
26a5683071 Added WasmPtr and MemoryView to the wasmer API 2020-04-27 19:10:47 -07:00
Nick Lewycky
cd0f2f3881 Fix singlepass and llvm builds. 2020-04-23 10:49:31 -07:00
Syrus
f1d6e46901 Enabled default compilers in API 2020-04-22 17:45:56 -07:00
Syrus
dde5f41fcc Multiple improvements 2020-04-21 21:53:17 -07:00
Syrus
a402691303 First iteration of wasmer-reborn 2020-04-21 21:37:33 -07:00
Syrus
d750d6f30d First version of Wasmer Reborn 2020-08-13 15:03:29 -07:00
Mark McCaskey
02000cca44 Fix trap reporting for unreachable errors in the Singlepass backend 2020-05-22 13:14:49 -07:00
bors[bot]
ab106af422 Merge #1358
1358: Update C API to use new API r=MarkMcCaskey a=MarkMcCaskey



# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
2020-04-21 20:12:46 +00:00
Syrus
b301ac85be Improved tests to use available compilers 2020-04-16 11:52:29 -07:00
Mark McCaskey
4f23ed7f20 Readjust where things are exported in the new API 2020-04-10 12:12:36 -07:00
Mark McCaskey
bf09dc5e67 Merge branch 'master' into feature/update-capi-to-use-new-api 2020-04-09 17:40:29 -07:00
Mark McCaskey
5c09fedcd3 Remove all uses of wasmer_runtime from tests 2020-04-09 15:50:35 -07:00
Mark McCaskey
c9460e3a03 Migrate tests away from using runtime and runtime_core 2020-04-09 14:37:21 -07:00
Mark McCaskey
a149c9aaeb Update tests to use new API where easily possible 2020-04-09 12:51:18 -07:00
Mark McCaskey
83f0a043e7 Update C API to use new API 2020-04-06 17:09:50 -07:00
Mark McCaskey
0527b50af3 Improve consistency of names, reuse more code, and reorganize a bit 2020-03-31 16:00:52 -07:00
Mark McCaskey
50fcd57e45 Improve consistency and add misc clean ups 2020-03-31 12:37:50 -07:00
Mark McCaskey
7ca721bd83 Update from feedback
Deprecate more methods on `Instance`, add `into_iter` method on
`Exports`, add FuncSig to ImportType and other updates.
2020-03-30 17:38:51 -07:00
Mark McCaskey
cc13e45215 Add skeleton of external API and tests 2020-03-24 18:59:09 -07:00