Skip to content

Commit

Permalink
fxhash -> rustc-hash
Browse files Browse the repository at this point in the history
fixes #1616
  • Loading branch information
Dushistov authored and emilio committed Sep 23, 2019
1 parent 86b38f4 commit 43f8968
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -56,7 +56,7 @@ quote = { version = "1", default-features = false }
regex = "1.0"
which = { version = ">=1.0, <3.0", optional = true }
shlex = "0.1"
fxhash = "0.2"
rustc-hash = "1.0.1"
# New validation in 0.3.6 breaks bindgen-integration:
# https://github.com/alexcrichton/proc-macro2/commit/489c642.
proc-macro2 = { version = "1", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Expand Up @@ -23,7 +23,7 @@ extern crate cexpr;
#[allow(unused_extern_crates)]
extern crate cfg_if;
extern crate clang_sys;
extern crate fxhash;
extern crate rustc_hash;
#[macro_use]
extern crate lazy_static;
extern crate peeking_take_while;
Expand Down Expand Up @@ -99,8 +99,8 @@ use std::sync::Arc;
use std::{env, iter};

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

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

0 comments on commit 43f8968

Please sign in to comment.