`bitvec`'s `view_bits` on a slice causes an ICE
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
# Cargo.toml
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "f79c4181a5dc2d37303947b113f190930c6c1ce6" }
bitvec = { git = "https://github.com/uglyoldbob/bitvec.git", default-features = false }
let bits = [0 as u8];
&bits.view_bits::<Lsb0>();
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the ICE using the Cargo.toml dependencies and the Rust snippet in the issue, then read the linked rustc ICE report for the failing compiler path. Done means this bitvec view on a slice no longer causes an internal compiler error, with the reproducer verified against the pinned rust-gpu revision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100