Commit Graph

250 Commits

Author SHA1 Message Date
e0aafbe9dd Remove WasmTrapInfo and passExceptionCode in the generic Box<Any> container. 2020-02-06 23:49:50 +08:00
fcbdada259 Port to FreeBSD 2020-01-28 21:49:55 +01:00
430524ce51 Prepare for 0.13.1 release 2020-01-16 14:07:18 -08:00
bb794598e9 Update clif-backend to use new published crates 2020-01-15 12:11:02 -08:00
3c996bc821 Prepare for 0.13.0 release 2020-01-15 11:09:47 -08:00
12f1f2d8a8 Merge #1143
1143: Set backend_id to static str r=MarkMcCaskey a=syrusakbary

<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description

As per feedback in #1099, set backend_id to static str.

<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

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


Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-15 18:32:01 +00:00
286e5db370 Remove vestigial debug features from various crates 2020-01-14 13:03:19 -08:00
a1d8b9aa5b Move backend_id to static str 2020-01-13 15:40:09 +01:00
d7154fe791 Remove Backend dependency 2020-01-07 16:12:39 +01:00
c4d70a6b75 Use Arc instead of Rc 2019-12-20 20:37:47 -08:00
294cc28135 Move inline breakpoint outside of runtime backend
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself
2019-12-20 18:26:56 -08:00
fe969be612 Update wasmparser to version 0.45.0 2019-12-20 17:16:54 -08:00
c2f287e65b Update to cranelift 0.51. 2019-12-20 17:10:36 -08:00
6a74b7e994 Prepare for 0.12.0 release 2019-12-18 17:24:29 -05:00
0a278c55ee For error handling and breakpoints, use Box<Any + Send> instead of Box<Any>. 2019-12-09 21:00:01 -08:00
bb1e7a8d78 Prepare for 0.11.0 release 2019-11-22 11:18:06 -08:00
e568c4a374 Merge #972
972: Prepare for 0.10.2 release r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-11-18 19:44:33 +00:00
anb
3b2d751c55 Enable compilation for specific target
By exposing the target information through `CompilerConfig`,
compiler(only LLVM at the moment) could create a machine with
different CPU feature flags other than current host, which makes it
capable to "cross compile" to some degree.

Update #959
2019-11-15 18:51:59 -08:00
cebcb4c927 Prepare for 0.10.2 release 2019-11-15 14:55:53 -08:00
fff16c08d0 Merge #965
965: Add categories and keywords to `Cargo.toml`s r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-11-13 23:47:56 +00:00
9127eaf825 Add categories and keywords to Cargo.tomls 2019-11-13 15:46:09 -08:00
af12bf4f68 Merge branch 'master' into feature/deny-missing-docs-clif-backend 2019-11-12 11:43:54 -06:00
89859a9ab5 Merge branch 'master' into feat-runtime-core-clos-host-function 2019-11-12 14:36:33 +01:00
91b5059506 Deny missing docs in the clif backend crate 2019-11-11 20:05:04 -06:00
69950d9e5f Prepare for 0.10.1 release 2019-11-11 16:22:37 -08:00
95706160ee Merge branch 'master' into feat-runtime-core-clos-host-function 2019-11-12 00:55:40 +01:00
11f34a9285 feat(clif-backend,singlepass-backend) Feed imported functions with FuncCtx.vmctx. 2019-11-12 00:51:57 +01:00
98e4ef066a feat(runtime-core) Feed imported functions with vm::Ctx again.
… and look for the associated `vm::FuncCtx`. This way, we don't break
the rule: “all functions receive a vmctx pointer as first argument.”.
2019-11-12 00:50:25 +01:00
0a216c0779 Prepare for 0.10.0 release 2019-11-11 12:13:53 -08:00
6035bd2d9b feat(runtime-core,clif-backend,llvm-backend) Rename an ImportFunc offset.
`ImportedFunc::offset_vmctx` becomes `ImportedFunc::offset_func_ctx`.
2019-11-06 14:48:46 +01:00
edb6cbefca fix(runtime-core) Share the definition of Trampoline across all the backends.
This patch updates all the backends to use the definition of
`Trampoline` as defined in the `wasmer_runtime_core::typed_func`
module. That way, there is no copy of that type, and as such, it is
easier to avoid regression (a simple `cargo check` does the job).

This patch also formats the `use` statements in the updated files.
2019-10-30 13:10:34 +01:00
82f258b888 Prepare for 0.9.0 release 2019-10-23 13:40:35 -07:00
0fd0ab6e58 Merge branch 'master' into ventuzelo/add-detail-unimplemented-calls-runtime 2019-10-23 12:30:14 -07:00
f101775380 fix(cranelift-backend) Remove broken (and useless?) debug code.
This debug code is broken (it doesn't compile). It can be assumed
nobody uses it, and can be considered as dead code. As such, this PR
removes it.
2019-10-17 22:55:30 +02:00
ed615c4878 fix build error docs 2019-10-07 12:56:55 +02:00
4b3880c88b add details when calling unimplemented! 2019-10-03 11:26:54 +02:00
c77cbc1f40 Prepare for 0.8.0 release 2019-10-02 15:40:35 -07:00
9be72e6808 Fix some other files too 2019-09-30 22:50:04 -07:00
008a1d7369 Update to published cranelift fork version 0.44.0 2019-09-26 08:43:12 -05:00
c69cdeca9b Update cranelift backend to fork version 0.44.0 2019-09-25 23:37:39 -05:00
7bf306eb27 Use flat-square style in downloads button 2019-09-24 13:42:17 -07:00
621ef56ab6 lmproved READMEs to use Azure Pipelines badges and better lgo 2019-09-24 13:36:31 -07:00
b6d55b0b85 Update to published fork version 2019-09-24 13:30:52 -05:00
a1a88c6eb8 Use the default features for wasmparser 2019-09-21 13:59:08 -05:00
f48d6f6690 Cranelift backend update to fork of clif version 0.43.1 2019-09-21 13:06:54 -05:00
bf396ec76d Remove patch version in deps when not necessary 2019-09-20 16:11:09 -07:00
0f4d266e4e Prepare for 0.7.0 release 2019-09-12 12:44:38 -07:00
ea3d7272d9 The VM callbacks for shared static are the same as those for unshared static memory. 2019-09-09 08:34:47 -07:00
3a54111988 replace unimplemented by Err 2019-09-09 13:50:30 +02:00
d8471e2b6a Improved docs with custom logo and favicon 2019-09-03 17:06:31 -07:00