alamb opened a new issue #232:
URL: https://github.com/apache/arrow-rs/issues/232
**Describe the bug**
cargo doc fails with XXX when using features=["simd"]
**To Reproduce**
Create a new empty repo
```terminal
$ cargo new --bin repro
```
Add
```toml
arrow = {version="4.0.0", default-features = false, features=["simd"]}
```
to Cargo.toml
Then try to build docs:
```
cd repro
cargo +nightly doc --all-features
```
The build fails:
```
Checking arrow v4.0.0
error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
-->
/Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.0.0/src/buffer/ops.rs:258:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
258 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar
name exists: `bitwise_bin_op_helper`
error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
-->
/Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.0.0/src/buffer/ops.rs:369:9
|
125 | / pub fn bitwise_bin_op_helper<F>(
126 | | left: &Buffer,
127 | | left_offset_in_bits: usize,
128 | | right: &Buffer,
... |
152 | | buffer.into()
153 | | }
| |_- similarly named function `bitwise_bin_op_helper` defined here
...
369 | bitwise_bin_op_simd_helper(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar
name exists: `bitwise_bin_op_helper`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
error: could not compile `arrow`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
```
**Expected behavior**
Documentation builds successfully, without error
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]