Compare commits

...

5 Commits

Author SHA1 Message Date
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
5 changed files with 33 additions and 7 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,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [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 +1917,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.0...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.1...HEAD
[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

@@ -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; \