Compare commits

...

3 Commits

Author SHA1 Message Date
Taiki Endo
48b4f3243f Release 2.29.2 2024-03-21 03:28:46 +09:00
Taiki Endo
47246c73b5 Update wasmtime@latest to 19.0.0 2024-03-21 03:13:05 +09:00
Taiki Endo
a005b5b568 codegen: Tweak imports 2024-03-20 14:52:52 +09:00
3 changed files with 43 additions and 5 deletions

View File

@@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.29.2] - 2024-03-20
- Update `wasmtime@latest` to 19.0.0.
## [2.29.1] - 2024-03-19
- Update `cargo-minimal-versions@latest` to 0.1.27.
@@ -1917,7 +1921,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.1...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.2...HEAD
[2.29.2]: https://github.com/taiki-e/install-action/compare/v2.29.1...v2.29.2
[2.29.1]: https://github.com/taiki-e/install-action/compare/v2.29.0...v2.29.1
[2.29.0]: https://github.com/taiki-e/install-action/compare/v2.28.16...v2.29.0
[2.28.16]: https://github.com/taiki-e/install-action/compare/v2.28.15...v2.28.16

View File

@@ -2,7 +2,40 @@
"rust_crate": "wasmtime-cli",
"template": null,
"latest": {
"version": "18.0.3"
"version": "19.0.0"
},
"19": {
"version": "19.0.0"
},
"19.0": {
"version": "19.0.0"
},
"19.0.0": {
"x86_64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-linux.tar.xz",
"checksum": "9b22a1847ab493e18771d4a7a992ffd02729a83309b9b8526e87c65d65d262a4",
"bin": "wasmtime-v19.0.0-x86_64-linux/wasmtime"
},
"x86_64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-macos.tar.xz",
"checksum": "a1e21e8a9a0aaee42b05aace5891962d2b0c350d4bb19c7bef001bde63d5b2c5",
"bin": "wasmtime-v19.0.0-x86_64-macos/wasmtime"
},
"x86_64_windows": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-windows.zip",
"checksum": "371b23b52b4f4ba8be1524d5ad666c6383c9c30c0365ae66ac404196409731d6",
"bin": "wasmtime-v19.0.0-x86_64-windows/wasmtime.exe"
},
"aarch64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-aarch64-linux.tar.xz",
"checksum": "f37c4af2e66177641627b2fcd419eba9f68daa1bc4e2062561af26d6a541f6f9",
"bin": "wasmtime-v19.0.0-aarch64-linux/wasmtime"
},
"aarch64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-aarch64-macos.tar.xz",
"checksum": "bb566cad203eb3dc1942985574223258007a2f5099fdf2971a0a2fc6744c0643",
"bin": "wasmtime-v19.0.0-aarch64-macos/wasmtime"
}
},
"18": {
"version": "18.0.3"

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
use std::{
cmp::Reverse,
cmp::{self, Reverse},
collections::{BTreeMap, BTreeSet},
env,
ffi::OsStr,
@@ -604,12 +604,12 @@ impl From<semver::Version> for Version {
}
}
impl PartialOrd for Version {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
Some(self.cmp(other))
}
}
impl Ord for Version {
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
fn cmp(&self, other: &Self) -> cmp::Ordering {
fn convert(v: &Version) -> semver::Version {
semver::Version {
major: v.major.unwrap_or(u64::MAX),