1172: Share some more code in runtime-core::sys r=MarkMcCaskey a=MarkMcCaskey
This code was partially duplicated
Co-authored-by: Mark McCaskey <mark@wasmer.io>
1170: Add new features to WasiState builder API r=MarkMcCaskey a=MarkMcCaskey
Allows for ergonomic swapping out of stdin, stdout, stderr as well as
a new PreopenDir sub-builder which enables for user control over the
permissions that the directory is preopened with.
This PR includes breaking changes to the pubilc API.
TODO:
- [x] Add doc examples of using the new sub-builder
- [x] Discuss and maybe readd removed broken API with `deprecated` attributes on them
# Review
- [x] 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>
Allows for ergonomic swapping out of stdin, stdout, stderr as well as
a new PreopenDir sub-builder which enables for user control over the
permissions that the directory is preopened with.
This PR includes breaking changes to the pubilc API.
1161: Require that imported functions must be `Send` r=MarkMcCaskey a=MarkMcCaskey
resolves#1074
# Review
- [x] 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>
1140: Use blake3 instead of blake2_simd 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
Blake3 has a much faster hashing rate than Blake2/Blake2b_simd. This PR updates wasmer to use it as the default hashing algorithm.
More info here: https://www.infoq.com/news/2020/01/blake3-fast-crypto-hash/
<!--
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>
1168: doc(runtime-c-api) Improve documentation of the `instance`, `error` and `export` modules r=syrusakbary a=Hywan
Daily doc', that turned to be an obsession. The entire `instance`, `error` modules are fully documented. The `exports` module's documentation have been improved too.
This PR also contains some “bug fixes” when `instance` pointers are null for instance (in this case, we do nothing or we return `void`).
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
1163: Add clippy error checking in lint step 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>