Skip to content

Commit a53e090

Browse files
authored
build: fix build of 'hdfs-opendal' feature for MacOS (apache#2392)
1 parent f4c72fd commit a53e090

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

native/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.

native/core/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ opendal = { version ="0.54.0", optional = true, features = ["services-hdfs"] }
8181
[target.'cfg(target_os = "linux")'.dependencies]
8282
procfs = "0.18.0"
8383

84+
[target.'cfg(target_os = "macos")'.dependencies]
85+
hdrs = { version = "0.3.2", features = ["vendored"] }
86+
8487
[dev-dependencies]
8588
pprof = { version = "0.15", features = ["flamegraph"] }
8689
criterion = { version = "0.7", features = ["async", "async_tokio", "async_std"] }

0 commit comments

Comments
 (0)