We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83120f3 commit 94c2d88Copy full SHA for 94c2d88
README.md
@@ -83,5 +83,7 @@ export CLASSPATH=$(hadoop classpath)
83
84
then you can run the benchmarks with
85
```bash
86
-cargo bench -p hdfs-native --features benchmark,integration-test
87
-```
+cargo bench -p hdfs-native --features benchmark
+```
88
+
89
+The `benchmark` feature is required to expose `minidfs` and the internal erasure coding functions to benchmark.
crates/hdfs-native/build.rs
@@ -20,7 +20,7 @@ fn main() -> Result<()> {
20
)?;
21
}
22
23
- #[cfg(feature = "integration-test")]
+ #[cfg(any(feature = "integration-test", feature = "benchmark"))]
24
{
25
// Copy the minidfs src to the build directory so we can run it in downstream tests
26
let status = std::process::Command::new("cp")
0 commit comments