Skip to content

Commit f8418c6

Browse files
infinity0BurntSushi
authored andcommitted
explicitly declare lazy_static dependency
`benches/bench.rs` uses lazy_static but Cargo.toml does not declare a dependency on it. This causes rustc to use its own internal private copy instead. Sometimes this causes unintuitive errors like this Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942243 The underlying issue is https://github.com/rust-lang/rust#27812 but it can be avoided by explicitly declaring the dependency, which you are supposed to do anyways. Closes #1435
1 parent 040ca45 commit f8418c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.lock

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

globset/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ regex = "1.1.5"
2727

2828
[dev-dependencies]
2929
glob = "0.3.0"
30+
lazy_static = "1"
3031

3132
[features]
3233
simd-accel = []

0 commit comments

Comments
 (0)