You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/17 13:58:12 UTC

[GitHub] [arrow-rs] ritchie46 commented on issue #232: cargo doc fails with cannot find function `bitwise_bin_op_simd_helper` when using features=["simd"]

ritchie46 commented on issue #232:
URL: https://github.com/apache/arrow-rs/issues/232#issuecomment-842347232


   Ok, I did another test and now apparently this `Cargo.toml` works for `$ cargo +nightly doc --all-features`:
   
   ```toml
   [package]
   name = "foo"
   version = "0.1.0"
   authors = ["Ritchie Vink <ri...@gmail.com>"]
   edition = "2018"
   
   [dependencies]
   arrow = {version="5.0.0-SNAPSHOT", git = "https://github.com/apache/arrow-rs", branch = "master", default-feature = false, features = ["simd"]}
   ```
   
   And the published version on `crates.io` fails
   
   ```toml
   [package]
   name = "foo"
   version = "0.1.0"
   authors = ["Ritchie Vink <ri...@gmail.com>"]
   edition = "2018"
   
   [dependencies]
   arrow = {version="4.0.0", default-features = false, features=["simd"]}
   ```
   
   with: 
   
   ```
   error[E0425]: cannot find function `bitwise_bin_op_simd_helper` in this scope
      --> /home/ritchie46/.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
      --> /home/ritchie46/.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`
   
   ```
   
   So apparently this bug is already fixed, but do we know what fixed it?


-- 
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:
users@infra.apache.org