Update to latest rustc-hash version

This is a very minor performance win, a few percent in my
benchmarking.

typing_1.ml went from 3.013M to 2.996M instructions (0.6% reduction).
slow_1.rs went from 2.153M to 2.046M instructions (5% reduction).

Fixes #728
pull/735/head
Wilfred Hughes 2024-07-09 00:18:59 +07:00
parent f1bd870382
commit 7248e334b7
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated

@ -776,9 +776,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]]
name = "rustc-hash"
version = "1.1.0"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
[[package]]
name = "rustix"

@ -41,7 +41,7 @@ regex = "1.10.4"
clap = { version = "3.2.25", features = ["cargo", "env", "wrap_help"] }
itertools = "0.11.0"
typed-arena = "2.0.2"
rustc-hash = "1.1.0"
rustc-hash = "2.0.0"
strsim = "0.10.0"
lazy_static = "1.4.0"
# tree-sitter 0.22.5 uses std::os::fd::AsRawFd, which was added in Rust 1.66.