You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cross-compiling another package depending on this to windows, I find that this package errors. Below is a small snippet of the many errors.
I don't see anything in your README that mentions this package only works for Windows, nor anything in the Cargo.toml. Are these compilation issues unintended?
[12:15:56] error[E0308]: mismatched types
[12:15:56] --> /opt/x86_64-linux-musl/registry/src/github.com-1ecc6299db9ec823/rust-htslib-0.36.0/src/bam/record.rs:154:16
[12:15:56] |
[12:15:56] 154 | l: sam_copy.len() as u64,
[12:15:56] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[12:15:56]
[12:15:56] Compiling bstr v0.2.17
[12:15:56] error[E0308]: mismatched types
[12:15:56] --> /opt/x86_64-linux-musl/registry/src/github.com-1ecc6299db9ec823/rust-htslib-0.36.0/src/bam/record.rs:155:16
[12:15:56] |
[12:15:56] 155 | m: sam_copy.len() as u64,
[12:15:56] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[12:15:56]
[12:15:56] Compiling bincode v1.3.3
[12:15:56] Compiling multimap v0.8.3
[12:15:56] error[E0308]: mismatched types
[12:15:56] --> /opt/x86_64-linux-musl/registry/src/github.com-1ecc6299db9ec823/rust-htslib-0.36.0/src/bam/mod.rs:936:29
[12:15:56] |
[12:15:56] 936 | (*rec).l_text = l_text as u64;
[12:15:56] | ------------- ^^^^^^^^^^^^^ expected `u32`, found `u64`
[12:15:56] | |
[12:15:56] | expected due to the type of this binding
The text was updated successfully, but these errors were encountered:
Dear rust-htslib authors,
When cross-compiling another package depending on this to windows, I find that this package errors. Below is a small snippet of the many errors.
I don't see anything in your README that mentions this package only works for Windows, nor anything in the
Cargo.toml
. Are these compilation issues unintended?The text was updated successfully, but these errors were encountered: