1350: update blake3 to 0.3.1 r=syrusakbary a=oconnor663
Version 0.3.0 caused problems because it required a C compiler with
AVX-512 support, which broke Android x86 cross-compilation. Version
0.3.1 automatically falls back to a pure Rust build when the C compiler
either doesn't exist or doesn't support the flags we need.
Co-authored-by: Jack O'Connor <oconnor663@gmail.com>
Version 0.3.0 caused problems because it required a C compiler with
AVX-512 support, which broke Android x86 cross-compilation. Version
0.3.1 automatically falls back to a pure Rust build when the C compiler
either doesn't exist or doesn't support the flags we need.
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>
1288: Update some dependencies manually, removing duplicate deps r=MarkMcCaskey a=MarkMcCaskey
Removes all duplicate deps (as seen by `cargo +stable tree -d`). Primarily by updating `wasm-debug` but also by through updating some other dependencies.
Co-authored-by: Mark McCaskey <mark@wasmer.io>
1310: upgrade the blake3 dependency to 0.2 r=MarkMcCaskey a=oconnor663
Version 0.2 makes assembly implementations available. They're off by default, and I haven't enabled them here, because they require the build machine to have a C toolchain installed. But if that's already a requirement for Wasmer, we could enable them with the `"c"` feature, for both better runtime performance and faster build times.
Co-authored-by: Jack O'Connor <oconnor663@gmail.com>
This change also cleans up the `wasi-test` generation a bit. It's
actually still really, really messy, but at least now it's split up
into easier to understand chunks.
There's still a lot of low-hanging fruit in terms of improving the
readibilty and maintainability of the code.
1262: Update to latest inkwell which adds context lifetime to basic blocks. r=nlewycky a=nlewycky
The latest inkwell adds lifetimes to basic blocks and also changes most APIs to pass them without reference.
Co-authored-by: Nick Lewycky <nick@wasmer.io>
0.14.1 differs from 0.14.0 primarily in that the GNU/Linux build is
built on Ubuntu 16.04 instead of 18.04, meaning we'll use an earlier
version of GLIBC.