Compare commits

...

12 Commits

Author SHA1 Message Date
Taiki Endo
01b0553617 Release 2.29.4 2024-03-22 10:54:50 +09:00
Taiki Endo
74dc5114f4 Update cargo-deny@latest to 0.14.19 2024-03-22 06:09:13 +09:00
Taiki Endo
1162624e26 Release 2.29.3 2024-03-21 21:32:16 +09:00
Taiki Endo
eba39d0ea4 Update cargo-deny@latest to 0.14.18 2024-03-21 21:12:44 +09:00
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
7 changed files with 115 additions and 13 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,22 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.29.4] - 2024-03-22
- Update `cargo-deny@latest` to 0.14.19.
## [2.29.3] - 2024-03-21
- Update `cargo-deny@latest` to 0.14.18.
## [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 +1929,11 @@ 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.4...HEAD
[2.29.4]: https://github.com/taiki-e/install-action/compare/v2.29.3...v2.29.4
[2.29.3]: https://github.com/taiki-e/install-action/compare/v2.29.2...v2.29.3
[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

@@ -19,10 +19,38 @@
}
},
"latest": {
"version": "0.14.17"
"version": "0.14.19"
},
"0.14": {
"version": "0.14.17"
"version": "0.14.19"
},
"0.14.19": {
"x86_64_linux_musl": {
"checksum": "dfb7893226470ab5bd7f6c7b91b40c461ff5736e9ac504f233102a66ab1fa934"
},
"x86_64_macos": {
"checksum": "f93fe56901820f9077a53d69047486e693d21c392692e9d9a60fdbc6d641761d"
},
"x86_64_windows": {
"checksum": "2755ba2fa41079f51ce0bcf984c4a440c9e0ecf88b7df6a36aeb02b0a8449bd8"
},
"aarch64_macos": {
"checksum": "fb172c520aa24de1a4b9ee3aa68231d7a635f9ac7795c1f4c3602feeab6ed5d0"
}
},
"0.14.18": {
"x86_64_linux_musl": {
"checksum": "b2edd818de5169128e23480bfece4c70ae9d4402e5a1748ae548fc29347b82b3"
},
"x86_64_macos": {
"checksum": "3aee99abb5761866b1e83e790394a024dc78bffb6987263b428082102d069eec"
},
"x86_64_windows": {
"checksum": "fdf5e89d7438d02434fc9d700bd547cdfa2401ccbe3a808ff24f1565686d1432"
},
"aarch64_macos": {
"checksum": "010b9143d9347218a9a88bdd5b0616349191f015ce9b125f6ac1018bd96944c2"
}
},
"0.14.17": {
"x86_64_linux_musl": {

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),