1313: Add types and methods to provide updated API r=MarkMcCaskey a=MarkMcCaskey
Improving the API in a number of ways.
<details><summary>Current status </summary>
- [x] Get exports from Instance
- [x] Func
- [x] Documented
- [x] Tested
- [x] DynFunc
- [x] Documented
- [x] Tested
- [x] Memory
- [x] Documented
- [x] Tested
- [x] Table
- [x] Documented
- [ ] Tested ; fully testing this now will be difficult, blocked on Table API being completed
- [x] Global
- [x] Documented
- [x] Tested
- [x] Field syntax (fairly non-trivial)
- [x] Get imports from Module
- [ ] Maybe update this to be an iterator instead of a Vec (side note, we may want to have a way to access specific types of imports too)
- [x] Documented
- [x] Tested
- [x] Get exports from Module
- [x] Documented
- [x] Tested
- [x] Get custom section from Module
- [x] Figure out correct solution
- [x] Ship separate PR that updates custom section code
- [x] Documented
- [x] Tested
- [ ] Updated Memory API
- [x] Added conversion methods to bytes/pages with From
- [ ] Documented
- [ ] Tested
- [ ] Table APIs ; blocked on `wrap` being not linear time update (this update should also make it possible to retrieve a `Func` from `vm::Anyfunc`)
- [ ] Table set (implemented needs to be checked)
- [ ] Documented with examples
- [x] Implemented
- [ ] Table grow (implemented needs to be checked)
- [ ] Documented with examples
- [x] Implemented
- [ ] Table get
- [x] Structure implemented
- [ ] Documented
- [ ] Tested
- [ ] Module APIs (probably separate)
- [x] Update import object macro to handle a lack of trailing commas as well
- [x] Add line in changelog about it
- [x] Tested
</details>
# 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>
1339: Create a valid target triple in the LLVM Module. r=MarkMcCaskey a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: nlewycky <nick@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
1345: Adding Azure pipelines to handle ARM r=syrusakbary 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
Adding Azure pipelines to handle ARM
<!--
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>