1846: feat: Use the same version of `smallvec` everywhere r=jubianchi a=Hywan
# Description
This patch uniformize the `smallvec` versions in all our crates.
Closes https://github.com/wasmerio/wasmer/pull/1834.
# Review
- ~[ ] Add a short description of the the change to the CHANGELOG.md file~ not necessary I guess
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
When compiling `wasmer-compiler-singlepass`, one can read an warning as:
```
warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
--> lib/compiler-singlepass/src/codegen_x64.rs:5132:29
|
5125 | while let Some(fp) = self.fp_stack.last() {
| ------------- immutable borrow occurs here
...
5132 | self.canonicalize_nan(
| ^^^^ mutable borrow occurs here
5133 | fp.canonicalization.unwrap().to_size(),
| ------------------- immutable borrow later used here
|
= note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
= warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
= note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
```
This patch fixes that now a warning, future error.
This is the first alpha release of `1.0.0`: expect breaking changes.
The version suffix `alpha01.0` was chosen so that we can ship updates
that automatically update with the latter number and can prevent
auto-updates by incrementing the former number (which is not actually
a number as far as semver is concerned).
Also because crates.io sorts versions lexicographically, it will
display the wrong readme if we get to alpha10, so we pad with an extra
0 just in case we need more than 9 releases of alpha.