Skip to content

Commit

Permalink
fix: broken build on Mac (tikv#9598)
Browse files Browse the repository at this point in the history
On Mac:

```
 --> components/file_system/src/rate_limiter.rs:5:5
5 | use crossbeam_utils::CachePadded;
  |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `crossbeam_utils`
```

### Release note

* None
  • Loading branch information
gregwebs authored Jan 29, 2021
1 parent 20b0e95 commit 3a4b8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/file_system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ bcc-iosnoop = ["bcc"]
[dependencies]
collections = { path = "../collections" }
crc32fast = "1.2"
crossbeam-utils = "0.8.0"
fs2 = "0.4"
lazy_static = "1.3"
libc = "0.2"
Expand All @@ -21,12 +22,11 @@ tikv_alloc = { path = "../tikv_alloc" }
tikv_util = { path = "../tikv_util" }
variant_count = "1.0.0"


[dev-dependencies]
rand = "0.7"
tempfile = "3.0"
maligned = "0.2.1"

[target.'cfg(target_os = "linux")'.dependencies]
bcc = { version = "0.0.30", optional = true }
crossbeam-utils = "0.8.0"

0 comments on commit 3a4b8bb

Please sign in to comment.