Compare commits

...

8 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
Taiki Endo
f03bd5e420 Release 2.29.1 2024-03-19 21:57:32 +09:00
Taiki Endo
19b440e2a1 Update comments in .rustfmt.toml 2024-03-19 21:57:15 +09:00
Taiki Endo
c94523c8cc Update cargo-minimal-versions@latest to 0.1.27 2024-03-19 21:54:39 +09:00
Taiki Endo
326767beec codegen: Add todo comment about error message 2024-03-18 10:45:09 +09:00
Taiki Endo
9987ee4c6f Ignore more lints at workspace level 2024-03-18 10:44:39 +09:00
6 changed files with 75 additions and 11 deletions

View File

@@ -8,12 +8,12 @@ error_on_line_overflow = true
# Override the default formatting style.
# See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repositories/8732/81.
use_small_heuristics = "Max"
# See https://github.com/rust-dev-tools/fmt-rfcs/issues/149.
# This is the default of 2024 edition https://github.com/rust-lang/rust/pull/114764.
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3370)
overflow_delimited_expr = true
# This is unstable (tracking issue: none).
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/4991).
imports_granularity = "Crate"
# This is unstable (tracking issue: none).
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/5083).
group_imports = "StdExternalCrate"
# Apply rustfmt to more places.

View File

@@ -10,6 +10,14 @@ 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.
## [2.29.0] - 2024-03-18
- Support `git-cliff`. ([#411](https://github.com/taiki-e/install-action/pull/411), thanks @tranzystorekk)
@@ -1913,7 +1921,9 @@ 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.0...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
[2.28.15]: https://github.com/taiki-e/install-action/compare/v2.28.14...v2.28.15

View File

@@ -7,7 +7,6 @@ members = ["tools/codegen"]
[workspace.lints.rust]
improper_ctypes = "warn"
improper_ctypes_definitions = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "warn"
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
@@ -25,6 +24,7 @@ undocumented_unsafe_blocks = "warn"
# Suppress buggy or noisy clippy lints
bool_assert_comparison = { level = "allow", priority = 1 }
borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286
declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
doc_markdown = { level = "allow", priority = 1 }
float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725
manual_assert = { level = "allow", priority = 1 }

View File

@@ -21,10 +21,30 @@
}
},
"latest": {
"version": "0.1.26"
"version": "0.1.27"
},
"0.1": {
"version": "0.1.26"
"version": "0.1.27"
},
"0.1.27": {
"x86_64_linux_musl": {
"checksum": "6b51454adffa828cce8279339c50883a4841a196e778f8bc9a82bacf67f445cd"
},
"x86_64_macos": {
"checksum": "8796c876ab036b90bbd4d9b2ec7b9a57668cbceb88957040688b6d79dc2629e4"
},
"x86_64_windows": {
"checksum": "96d5deb8cc6e89e9fbf26345bc52d342dca87908bf87023e2bf55b233f28402d"
},
"aarch64_linux_musl": {
"checksum": "1727b222908e49e57fd93650d798e6327527dbde831b5a432a9b7283a5746d01"
},
"aarch64_macos": {
"checksum": "39b96ff4a6eae73bbb9f7a4a32a933005098046e44db1ede5bbe898037cc5911"
},
"aarch64_windows": {
"checksum": "e6be0e0d5529554a51334df603442f6bc4553d549b70cac5dd7466358589ec61"
}
},
"0.1.26": {
"x86_64_linux_musl": {

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,
@@ -417,6 +417,7 @@ fn main() -> Result<()> {
.values()
.any(|m| matches!(m, ManifestRef::Real(m) if m.download_info.contains_key(&p)))
{
// TODO: better error message: https://github.com/taiki-e/install-action/pull/411
bail!(
"platform list in base manifest for {package} contains {p:?}, \
but result manifest doesn't contain it; \
@@ -603,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),