Skip to content

Commit 43f8968

Browse files
Dushistovemilio
authored andcommitted
fxhash -> rustc-hash
fixes #1616
1 parent 86b38f4 commit 43f8968

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ quote = { version = "1", default-features = false }
5656
regex = "1.0"
5757
which = { version = ">=1.0, <3.0", optional = true }
5858
shlex = "0.1"
59-
fxhash = "0.2"
59+
rustc-hash = "1.0.1"
6060
# New validation in 0.3.6 breaks bindgen-integration:
6161
# https://github.com/alexcrichton/proc-macro2/commit/489c642.
6262
proc-macro2 = { version = "1", default-features = false }

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern crate cexpr;
2323
#[allow(unused_extern_crates)]
2424
extern crate cfg_if;
2525
extern crate clang_sys;
26-
extern crate fxhash;
26+
extern crate rustc_hash;
2727
#[macro_use]
2828
extern crate lazy_static;
2929
extern crate peeking_take_while;
@@ -99,8 +99,8 @@ use std::sync::Arc;
9999
use std::{env, iter};
100100

101101
// Some convenient typedefs for a fast hash map and hash set.
102-
type HashMap<K, V> = ::fxhash::FxHashMap<K, V>;
103-
type HashSet<K> = ::fxhash::FxHashSet<K>;
102+
type HashMap<K, V> = ::rustc_hash::FxHashMap<K, V>;
103+
type HashSet<K> = ::rustc_hash::FxHashSet<K>;
104104
pub(crate) use std::collections::hash_map::Entry;
105105

106106
fn args_are_cpp(clang_args: &[String]) -> bool {

0 commit comments

Comments
 (0)