fix: pin rustc-hash to 2.1.1 to avoid SIGILL on CI

rustc-hash 2.1.2 (released today) refactored hash_bytes to use
split_first_chunk, which produces illegal instructions when compiled
with nightly + -C target-cpu=x86-64-v3 on CI runners.
This commit is contained in:
can1357
2026-03-28 14:28:24 +01:00
parent 1a616f80e5
commit a35a2fc829
2 changed files with 8 additions and 5 deletions
Generated
+5 -5
View File
@@ -1132,7 +1132,7 @@ dependencies = [
"fluent-syntax",
"intl-memoizer",
"intl_pluralrules",
"rustc-hash 2.1.2",
"rustc-hash 2.1.1",
"self_cell",
"smallvec",
"unic-langid",
@@ -2117,7 +2117,7 @@ dependencies = [
"napi-build",
"napi-sys",
"nohash-hasher",
"rustc-hash 2.1.2",
"rustc-hash 2.1.1",
"tokio",
]
@@ -3140,9 +3140,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc-hash"
version = "2.1.2"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustix"
@@ -4198,7 +4198,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90"
dependencies = [
"rustc-hash 2.1.2",
"rustc-hash 2.1.1",
]
[[package]]
+3
View File
@@ -14,6 +14,9 @@ repository = "https://github.com/can1357/oh-my-pi"
brush-core = { path = "crates/brush-core-vendored" }
brush-builtins = { path = "crates/brush-builtins-vendored" }
[workspace.dependencies]
rustc-hash = "=2.1.1"
[profile.release]
opt-level = 3
lto = "fat"