bitvec
bitvec copied to clipboard
A crate for managing memory bit by bit
Currently, creating a zeroed `BitVec` is not as fast as it perhaps could be, because it ends up calling `__rust_alloc` and then zeroing the memory. It would be nice to...
`bitvec` version: 1.0.1 ```rust use bitvec::bits; fn main() { let _ = bits![0]; } ``` produces: ``` Compiling bitvec-test v0.1.0 (/tmp/bitvec-test) error[E0412]: cannot find type `Lsb0` in this scope -->...
This extends the github actions to run miri on PRs. This is dependent on #266 and #269 landing first.
This patch adds an github action to run tests on CI for each PR.
The tests depend on criterion, which no longer supports rust 1.56. Fixes #267
While bitvec compiles with rust 1.56, it looks like `crossbeam` by way of the `criterion` dependency no longer supports it: ``` % rustup run 1.56.1 cargo test error: package `crossbeam-epoch...
This change consists of four modifications to fix the test suite when run under miri with `MIRIFLAGS="-Zmiri-disable-stacked-borrows -Zmiri-tree-borrows"`: 1. `BitSlice` now contains a trailing slice of `[UnsafeCell]` rather than `[()]`....
on this target, u8, u16, u32, u64 and usize all have an align of 1, usize is 2 bytes wide (like u16), so my project doesnt compile because i (transitively)...
Closing backtick (\`) was missing after the word `dest` in the method's documentation.
cargo check failed with the following messages: ``` error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> /Users/hirohumi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitvec-1.0.1/src/slice.rs:1783:19 | 1755 | impl...